Skip to content

Docker stack for Bitcoin testing and developing. Includes a bitcoind node on regtest blockchain, fulcrum electrum server and mempool bitcoin explorer

Notifications You must be signed in to change notification settings

lazysatoshi/docker-btc-regtest-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

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.

Docker stack

These are the docker stack containers:

  • bitcoind: oficial bitcoin core node
  • fulcrum: a c++ electrum server implementation
  • mempool.space (web, api, db)

Explanation

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.

Usage

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!

About

Docker stack for Bitcoin testing and developing. Includes a bitcoind node on regtest blockchain, fulcrum electrum server and mempool bitcoin explorer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published