amarts / subscan-codec

substrate explorer backend codec

Home Page:https://kusama.subscan.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Decode substrate metadata, Extrinsic, Event, chain storage
  2. 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

About

substrate explorer backend codec

https://kusama.subscan.io/


Languages

Language:Python 99.8%Language:Dockerfile 0.1%Language:Makefile 0.1%