Insight Explorer for KMD and assetchains, providing blockchain exploration and transaction tracking.
754
kmdexplorer is an Insight Explorer for Komodo and assetchains, providing blockchain exploration and transaction tracking capabilities. It enables users to browse blocks, transactions, addresses, and other blockchain data for Komodo (KMD) and its associated assetchains through a web-based interface.
The explorer is built on the Insight API framework and provides:
The source code and installation scripts are available at: https://github.com/DeckerSU/komodo-explorers-install
Pre-built Docker images are available on Docker Hub: https://hub.docker.com/r/deckersu/kmdexplorer
To start the explorer with Docker using the pre-built image from Docker Hub:
docker pull deckersu/kmdexplorer:latest
docker run -v ${PWD}/.zcash-params:/home/explorer/.zcash-params \
-v ${PWD}/.komodo:/home/explorer/.komodo \
-e DAEMON_ARGS="-ac_public=1 -ac_name=KIP0001 -ac_supply=139419284 -ac_staked=10" \
-e WEB_PORT=3002 \
-p 127.0.0.1:3002:3002 \
-it deckersu/kmdexplorer:latest
This will:
.zcash-params and .komodo folders in the current directoryNote: Currently only assetchains are supported, KMD is untested. Specifying DAEMON_ARGS is mandatory.
To find out the port numbers (p2pport and rpcport) a coin uses, you can use the komodo-chainparams utility:
docker pull deckersu/komodo-chainparams:latest
docker run --rm deckersu/komodo-chainparams:latest <chain_parameters> | jq .
Example:
docker run --rm deckersu/komodo-chainparams:latest \
-ac_name=BCZERO \
-ac_supply=9999999999 \
-ac_end=1 \
-ac_public=1 \
-ac_staked=50 \
-addnode=65.21.52.182 | jq .
Response:
{
"chainname": "BCZERO",
"magic": 163429333,
"magic_bytes": "d5bbbd09",
"magic_hex": "09bdbbd5",
"p2pport": 45833,
"rpcport": 45834
}
Here's an example docker-compose.yml for running a specific coin:
version: '3.8'
services:
bczero-explorer:
image: deckersu/kmdexplorer:latest
ports:
- "45833:45833"
- "3002:3002"
volumes:
- ./BCZERO/.zcash-params:/home/explorer/.zcash-params
- ./BCZERO/.komodo:/home/explorer/.komodo
environment:
- WEB_PORT=3002
- DAEMON_ARGS=-ac_name=BCZERO -ac_supply=9999999999 -ac_end=1 -ac_public=1 -ac_staked=50 -addnode=65.21.52.182
restart: unless-stopped
.zcash-params and .komodo directories are mounted as volumes to persist blockchain data between container restarts.WEB_PORT environment variable.Content type
Image
Digest
sha256:42d45b361…
Size
209.5 MB
Last updated
3 months ago
docker pull deckersu/kmdexplorer