Experimental project. Deployed at https://mempool.parallelo3301.org/.
Project consists from 5 parts:
- Bitcoin pruned node (1024MB)
- PostgreSQL as the extracted data storage
- Deno-based JSON-RPC Bitcoin mempool extractor
- Deno-based static website generator (+ mempool output from DB as a static file)
- nginx for website serving (read-only mode)
- Clone this repo.
- Generate usernames & passwords and update
btc.env
&db.env
accordingly. - Run with
$ docker-compose up -d
- Wait few days to fully sync the Bitcoin node.
$ docker-compose logs -f --tail=50 btc-node
- nginx running at port 8050 externally, can be changed in
docker-compose.yml
.
$ docker-compose logs -f --tail=50
If you already run your bitcoin node with RPC enabled & configured, simply comment the btc-node
service in docker-compose.yml
.
Inspired by https://github.com/jhoenicke/mempool.
Thanks to the developers of the uPlot library.