A block explorer is one of the most important tools every cryptocurrency needs. It allows the end-user to quickly search the blockchain ledger for addresses and transactions data.
During the first month of Libra testnet existence, several experimental block explorers were created by the Libra open-source developers community.
At Libra Startup, we have developed and released our own Libra block explorer. It is open-source, and currently, you are reading its step-by-step tutorial.
The front-end guide will be available in the second part of this tutorial. Currently, you can use its beta source code, see GitHub.
The block explorer application, created according to this tutorial, is in its early beta stage, live at Libra Checker.
Part I – The Backend
Below are the steps that need to be taken to set up the back-end from scratch.
1. Install Node.js, nginx, configure the firewall
2. Configure a reverse proxy (and SSL)
3. Install MongoDB
4. Create the API script and run it with PM2
5. Install Libra gRPC client to save Libra blockchain data to MongoDB
We are running this on a fresh Ubuntu 19.04 Linux install in a VM on Google Cloud.Continue reading “Tutorial – Create a Block Explorer for the Libra Cryptocurrency: Part I – The Backend”