Cold Storage using Full Node

Cold Storage

The Zen-node supports cold storage out of the box.

To start, install the zen-node on a secure computer, run it and then create a wallet and export the public key:

# Create a new wallet
zen-cli wallet-create PASSWORD

# Backup the mnemonic phrase
zen-cli mnemonicphrase PASSWORD

# Export the zen public key to the hot-readonly machine
zen-cli exportzenpublickey

Now on the read-only machine (which is connected to the internet) run:

# Replace the public key with the one you got from the secure machine
zen-cli importzenpublickey xpub6BfTT2Gufvz2h7j8kPXRNcyTio4RMNx1LAt9JN3SyQpmT8sBsnjLujXFqba97VEvNcipMpcPNp5P7bUroGdneVbCAXqSW787zHorRZ8e4K  

# To retrieve your balance
zen-cli balance

# To get an address
zen-cli address

You can also generate unique addresses from the read-only wallet, to do so make sure to read the payment processing page.

To send assets from the cold storage you first have to create the raw transaction. On the read-only machine run the following:

Copy the TXHASH.raw file to the secure machine and sign the file by running:

Back in the read-only machine, publish the transaction:

Last updated