This document describes the protocols and data formats for communication between the various Savour systems.
- GRPC
- Proto 3.0
- Do not enable TLS
https://github.com/SavourDao/savour-proto.git
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) {}
}
[finish]