This repository contains dockerfiles and a docker-compose configuration to run the following:
- Bitcoin SV in
regtestmode - What's On Chain
- A custom web dashboard for controlling the mining operations of the Bitcoin SV node
- Clone this repository
- Check and modify
docker-compose.yamlto set the desired SV Node version (services/sv/args/VERSIONelement). Also check thesv/buildscript if you manually build just that image docker-compose up -ddocker container exec node1 [RPC command]
To list the available RPC commands, run:
bitcoin-cli help
The following services are available:
Host: localhost
Port: 8332
User: rpc
Pass: rpc
Host: localhost
Port: 8333
Host: localhost
Port: 28332
Host: localhost
Port: 9012
Miner ID reference contains commands.
To create a MinerId, run:
npm run cli -- generateminerid --name testMiner
Host: localhost
Port: 9014
The API reference has more information as well as the swagger documentation.
URL: http://localhost:8080
URL: http://localhost:3010
The file sv/bitcoin.conf is volume-mounted into the SV Node container during docker-compose up. Modify it as required, then restart the node with docker-compose down and docker-compose up.