squeaknode/install-rpc.sh
Jonathan Zernik 446479c9df
Lnd get info from frontend (#100)
* Get lnd get_info from frontend

* Keep local copy of lnd.proto in source code in proto folder
2020-07-20 22:52:04 -07:00

11 lines
318 B
Bash
Executable file

#!/usr/bin/env bash
if [ ! -d "googleapis" ]; then
git clone https://github.com/googleapis/googleapis.git
fi
echo "Installing RPC protocol files"
python3 -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. \
proto/lnd.proto \
proto/squeak_server.proto \
proto/squeak_admin.proto