Skip to content

bbuba/LibraBrowser

 
 

Repository files navigation

LibraBrowser

A Block Explorer for the Libra Blockchain TestNet. See: https://librabrowser.io

Features

  • Account View
  • Version View, including gas spend and program info as well as information useful to debug the network
  • A Faucet that sends the funds as p2p transaction
  • Network Statistics
  • RPC based client to read data
  • DB store of transactions
  • Search by account or version
  • Simple Libra client automation (soon to be deprecated)

Installation

  1. Install Libra per official instructions
  2. Run: pip3 install grpcio grpcio-tools hexdump
  3. Open the official client, create an account and save the account to disk (should be set in ACCOUNT_FILE setting)
  4. Edit config.json and make sure that settings match your environment (in particular CLIENT_PATH)

Running the project

At the root project folder execute the command:

python3 Browser.py

Or to execute and leave it to run with output redirected to a file execute:

nohup python3 Browser.py &> browser.log < /dev/null &
tail -f browser.log #if you want to see the logs

To use "DEVELOPMENT" mode settings set the environment variable "BROWSER=DEVELOPMENT"

Credits

rpc support is based on: https://github.com/egorsmkv/libra-grpc-py

Packages

No packages published

Languages

  • Python 73.7%
  • CSS 22.5%
  • JavaScript 3.8%