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)
All make commands should be run in coinstacks/{coin}/indexer
- Generate coin config
make gen-config
- Update the coin config
rpc_url
,rpc_user
andrpc_password
to 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 run
This 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