Address generation

New Z addresses can be generated using the following command:

$ ./zcash-cli z_getnewaddress zcPDBKuuwHJ4gqT5Q59zAMXDHhFoihyTC1aLE5Kz4GwgUXfCBWG6SDr45SFLUsZhpcdvHt7nFmC 3iQcn37rKBcVRa93DYrA 

Running the zcash-cli command with the getinfo parameter produces the output shown in the following screenshot. It displays valuable information such as blocks, difficulty, and balance:

Screenshot displaying the output of getinfo

New T addresses can be generated using the following command:

$ ./zcash-cli getnewaddress  
t1XRCGMAw36yPVCcxDUrxv2csAAuGdS8Nny 

Get Mastering Blockchain - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.