I share my docker stack for developing Bitcoin stuff. This is a quick and dirty stack, things could be done in a better way, but this way is convienent for me. I hope it could be useful for other plebs. Coments and PRs are very welcome. Please don't use it on mainnet, there are better solutions for this. I create this stuff during the awesome Bitshala's cohort Learning Bitcoin from the Command Line. Please, checkout Bitshala site, this folks are making really great things for bitcoin plebs.
These are the docker stack containers:
- bitcoind: oficial bitcoin core node
- fulcrum: a c++ electrum server implementation
- mempool.space (web, api, db)
The key component is the my_entry_point.sh script. This bash scripts start a bitcoind node, also creates some wallets, mine some blocks and finally creates some TX and sleeps for long time. No data is persistent, every time that you stop & start the docker stack a new shinny bitcoin devel environment is ready for build new crazy stuff.
Clone this repo:
git clone https://github.com/lazysatoshi/docker-btc-regtest-stack
Start the docker stack:
cd docker-btc-regtest-stack
docker compose up
Wait some minutes, after downloading container images and bulding the stack. Then, you should connect to your mempool.space bitcoin regtest explorer at localhost port 1080 and enjoy it!