Created
August 20, 2025 00:17
-
-
Save jaonoctus/763baeeb3a0c06e1dbe3d06d2467a5ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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