Skip to content

Instantly share code, notes, and snippets.

View vinayaksh42's full-sized avatar
:octocat:
Coding

Vinayak Sharma vinayaksh42

:octocat:
Coding
View GitHub Profile
@vinayaksh42
vinayaksh42 / sob.MD
Last active August 24, 2022 19:37
Steps to run LN explorer on Blockstream/Esplora

This is a stepwise instruction on how to install or run LN explorer within Esplora

  1. Download / Clone clightning-node-server repo from https://github.com/vinayaksh42/clightning-node-server
  2. npm install withing the above repo.
  3. cp config/example.default.json config/default.json run this command for making a copy of the default configuration file
  4. The configuration must point towards a valid PostgreSQL database containing Lightning network gossip messages. Example of a config file is provided within the clightning-node-server.
  5. Feel free to use this SQL database dump for creating your own database with LN gossip messages - https://drive.google.com/file/d/18T0NAxR_bwmMcE2qTPqVvpA08haulYjk/view?usp=sharing
  6. npm run start to get the server started.
  7. Download / Clone Blockstream/esplora repo with LN explorer changes from - https://github.com/vinayaksh42/esplora/tree/channelUpdate or directly download from esplora repo if it is up to date.