Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
These instructions require that you have Docker properly setup on your Windows computer:
docker volume create portainer_data
docker run -d -p 3040:9000 --name portainer --restart=always -v portainer_data:/data portainer/portainer --no-auth -H tcp://host.docker.internal:2375
docker volume create --name=bitcoind-data
docker run -v bitcoind-data:/bitcoin --name=bitcoind-node -d -p 18444:18444 -p 127.0.0.1:18332:18332 bitcoindevelopernetwork/bitcoind-regtest
then, open Portainer on localhost:3040
then, open the console to write commmands
root@72c3bbef1ef6:~# pwd
/bitcoin
root@72c3bbef1ef6:~# bitcoin-cli getblockhash 0
0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206
Visualization of script here:
https://siminchen.github.io/bitcoinIDE/build/editor.html
@djangofan
Copy link
Author

djangofan commented Nov 13, 2021

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment