Blockchain By Example
上QQ阅读APP看书,第一时间看更新

Sending transactions

As we have set the coinbase maturity to 50, we will need to mine 50 blocks to be able to spend our mined Readercoins (reward set in the genesis transaction).

On node A, we can use the address generated on node B to send 1 Readercoin using the following command:

readercoin-cli sendtoaddress <node B readercoin's address> 1

Or, alternatively, this can be effected via Qt wallet, as demonstrated in the following screenshot:

As for Bitcoin,you can define the transaction fee to accelerate your transaction's processing or not.You may notice the confirmation time is expressed according to our block time.

You can now enjoy extending your network and mining new coins. It's a great feeling to use your own, handcrafted cryptocurrency to boost your understanding of blockchain, isn't it?

As a bonus, we will set up an explorer to give users more visibility into the operation processing.