Command line grpc client to interact with mintter daemon
First Install the dependencies running:
pip install -r requirements.txt
Then you can check you can run the program by typing
python client.py -h
To compile the source protobuf definitions:
python -m grpc_tools.protoc --proto_path=. ./definition.proto --python_out=. --grpc_python_out=.
example:
python -m grpc_tools.protoc --proto_path=/home/julio/Documents/seed/proto /home/julio/Documents/seed/proto/accounts/v1alpha/accounts.proto --python_out=. --grpc_python_out=.
if there are relative imports in a .proto
file, make sure the --proto_path
includes both source and imported protos