About
gRPC client for Libra Checker to fetch transactions from the blockchain and deserialize them with Libra Canonical Serialization (LCS) library written in Python. Deserialized transactions are then stored in PostgreSQL database.
It runs as a background pm2 process that spawns the Python gRPC client.
Quick Start
-
Install /yuan-xy/libra-client.
-
Create PostgreSQL database tables (see png files for the structure).
-
Edit and rename the example auth files to
lcAuth.js
andlcAuth.py
. -
Install dependencies with
npm install
.
You can now fetch Libra transactions by running: node lcPython.js
To run it in the background: pm2 start lcPython.js
Thanks to Yuan Xy for his open source contributions and help.