Explore transactions, blocks, and valuable data for the Libre Blockchain.
First, run the development server if necessary to test. This is not suitable for production:
yarn
yarn dev
Open http://localhost:3000 with your browser to see the result.
Running a Yarn built version of the Libre Blocks Explorer under PM2 is performant and production ready alternative to using docker.
Please follow the process below:
$ curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - &&sudo apt-get install -y nodejs
$ sudo npm install pm2 -g
$ sudo npm install --global yarn
$ nano ~/Libre-Blocks-Explorer/.env
NEXT_PUBLIC_LIBRE_API=https://dashboard-api.libre.org
NEXT_PUBLIC_HISTORY_API=https://lb.libre.org
$ cd ~/Libre-Blocks-Explorer
$ yarn
$ yarn build
$ pm2 start yarn --name "libreblocks" -- next start
$ pm2 start yarn --name "libreblocks" -- next start -p 3001
$ pm2 logs
If you have any feedback, please contact us at [email protected] or the telegram https://t.me/libreblocks