Skip to content

About

savour-protocal is the RPC codebase for the savour project

Resources

Stars

5 stars

Watchers

2 watching

Forks

Latest commit

 

History

63 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

5 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages