Skip to content

Instantly share code, notes, and snippets.

@jaonoctus
Created August 20, 2025 00:17
Show Gist options
  • Select an option

  • Save jaonoctus/763baeeb3a0c06e1dbe3d06d2467a5ec to your computer and use it in GitHub Desktop.

Select an option

Save jaonoctus/763baeeb3a0c06e1dbe3d06d2467a5ec to your computer and use it in GitHub Desktop.
# Clone the repository
git clone https://github.com/vinteum-bdl/infra-signet-docker
# Change to the project directory
cd infra-signet-docker
# Build the Docker image
docker compose build --no-cache bitcoin-node
# Start the container in detached mode
docker compose up bitcoin-node -d
# Log in to the container
docker compose exec --user student -it bitcoin-node bash
# Start the Bitcoin node (container shell)
bitcoind
bitcoin-cli getblockchaininfo
bitcoin-cli help
bitcoin-cli help getblockchaininfo
bitcoin-cli createwallet "<name>"
bitcoin-cli getbalance
bitcoin-cli importdescriptors '[{"desc": "<descriptor>", "timestamp": 0}]'
bitcoin-cli getpeerinfo
bitcoin-cli addnode <node IP> onetry
bitcoin-cli getnewaddress
bitcoin-cli -named sendtoaddress address="<address>" amount=<amount> fee_rate=1
bitcoin-cli getbalances
bitcoin-cli getrawtransaction "<txid>" 1
bitcoin-cli getrawmempool
bitcoin-cli getblockhash <height>
bitcoin-cli getblockheader "<block hash>"
bitcoin-cli getblockheader <block hash> false
bitcoin-cli getrawtransaction <txid> 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment