SubScan Codec GRPC tool
SubScan codec grpc tool is written in Python. It reference from https://github.com/polkascan/py-scale-codec, is lightweight, efficient grpc server. It is not restricted by any language, you can find grpc example in https://grpc.io/.
Feature
- Decode substrate metadata, Extrinsic, Event, chain storage
- Reg custom type
Install
virtualenv -p python3.6 env
. env/bin/activate
pip install -r requirements.txt
Install proto compile
python -m pip install grpcio-tools
Server run
python server.py
Proto compile
python -m grpc_tools.protoc -I . --python_out=pb --grpc_python_out=pb codec.proto