Blockbook
Prerequisites
You need to build the blockbook image first before running locally or adding a new coin
(cd "$(git rev-parse --show-toplevel)/packages/blockbook" && make build)Running
All make commands should be run in coinstacks/{coin}/indexer
Generate coin config
make gen-configUpdate the coin config
rpc_url,rpc_userandrpc_passwordto point to the appropriate backend daemon. If there is a dedicated daemon deployed for the coinstack, the internal kubernetes "url" can be used to avoid needing to go through dns (Ex: `http://{podName}.default.svc.cluster.local:{port})Run blockbook
make runThis will start blockbook in sync mode and begin indexing the blockchain. All of the data will be saved to ./db and logfiles will be stored at ./logs
Last updated
Was this helpful?