repository
0.0.0-20241122071039-61d3f3c2a975
Repository: https://github.com/savour-labs/savour-proto.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
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]