Skip to content

savour-protocal is the RPC codebase for the savour project

Notifications You must be signed in to change notification settings

dapplink-labs/dapplink-proto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Savour RPC Repo

1. Introdcution

This document describes the protocols and data formats for communication between the various Savour systems.

2. protocol

  • GRPC
  • Proto 3.0
  • Do not enable TLS

3. repo link

https://github.com/SavourDao/savour-proto.git

4. ReturnCode

enum ReturnCode{
    SUCCESS = 0;
    ERROR = 1;
}

Two kinds of status codes are currently defined

  • 0: SUCCESS;
  • 1: ERROR;

Example: Query supported currencies and broadcast transactions:

service WalletService {
  rpc getSupportCoins(SupportCoinsRequest) returns (SupportCoinsResponse) {}
  rpc SendTx(SendTxRequest) returns (SendTxResponse) {}
}

5.The port on which the business is listening (please update it yourself)

[finish]

About

savour-protocal is the RPC codebase for the savour project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages