November 2018
Intermediate to advanced
528 pages
13h 21m
English
We will set up a private blockchain with a single node. Start by opening two separate command-line prompts. In the first, run bitcoind (Bitcoin node server), while in the other, run one of the available RPC commands using bitcoin-cli <command>. To get the full list of RPC calls, you can use the help option bitcoin-cli --help, or visit the official documentation at https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list.
As a first command, we will generate quickly 101 blocks by running the following command:
bitcoin-cli generate 101
The expected output is a list of created blocks' IDs, similar to the following:

It ...
Read now
Unlock full access