Skip to content

StellarKit/stellarkit-bitcoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

StellarKit Bitcoin

The simplest and cleanest Docker image for running bitcoin

Build and run:

docker-compose build
docker-compose up -d

Defaults to testnet.

Creates a folder 'stellar' in your home folder. Everything is stored there, delete it to reset.

Edit docker-compose.yml for mainnet

Pull requests welcome!

// test rpc curl --user user:password --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:18332/

Build from source

The default behaviour of this image downloads the bitcoin binary, but if you would rather build it fresh, look inside bitcoin-docker/Dockerfile and change: ENV BUILD_FROM_SRC 1

Disclaimer: We are not affiliated with, or sponsored or endorsed by, the Stellar Development Foundation.

Donations

If you like the code, a donation would be appreciated. Even a single XLM!

Click here for the donation page. Nano support!

XLM: GBJC6AF4I5FUTYMG4CXC3V2NYMIQANBRB4UQYY3M2RRZCXCNLFR7TN7J