How to: Backup and restore xION Zerocoin private seed

xION Backup Seed

As with the public keys for the addresses you use and give out to receive payments, it is always advised to back up the separate private keys, this goes the same for version 2 of xION Zerocoin privacy protocol. As the Zerocoin were stored on the wallet.dat in version 1, it was quite possible to lose these if the wallet.dat was too corrupt or got lost / inaccessible somehow. Now it is possible to backup for safety and security, and also convert from V1 to V2 of xION Zerocoin. As the xION is a character string, it can be safely stored preferably away from the host computer on a couple of USB drives or similar storage solution.

How to Export the xION seed

To enable exporting of the xION seed, select ‘Unlock Wallet’ from the Settings menu and enter your password, unchecking “Unlock for anonymization, automint, and staking only.”

Alternatively, open the Command Console from the File Menu: Tools > Debug Console, then enter:

walletpassphrase <YourPassword> 300

Press Return

*Replace <YourPassword> using the password you chose when you encrypted the wallet.

**After 300 seconds the wallet will autolock, giving you enough time to perform these functions and can be adapted.

Now that your wallet is unlocked, enter:

getxionseed

After pressing return, a long character string will display, this is the private seed for your xION, so much be kept safe and secure, if you can, store away from the computer on a USB or two (preferably in encrypted storage).

After, remember to secure the wallet again by entering:

walletlock 

Press Return

-

Import the xION seed

To enable exporting of the xION seed, select ‘Unlock Wallet’ from the Settings menu and enter your password, unchecking “Unlock for anonymization, automint, and staking only.”

walletpassphrase <YourPassphrase> 600

*Replace <YourPassphrase> with the client unlock password you set

*600 is seconds before the wallet autolocks and the ‘time til lock’ can be adapted if desired.

Now the wallet is unlocked, enter:

setxionnseed <YourxIONseedHere>

After a little while your xION Zerocoin seed will be imported into the wallet with a displayed ‘Success’ message.

xION seed import finished.

-

Importing v1 to v2 xION (wallet.dat method)

If you have an old version 1 xION wallet.dat file, you can safely import this into the new versioned client data directory, then spend it as usual. You can can re-mint it as v2 xION, and subsequently back up via the xION seed.

ADVANCED: Importing v1 to v2 xION (console method)

First, fully unlock the two wallets between which you need to move the xION v1.

Next, export your xION v1 keys via the ‘Debug Console’ with:

exportzerocoins false <denomination>

Optionally replace <denomination> with the denomination (1, 5, 10, 50, 100, 500, 1000, 5000) of xION you would like to export. Leave <denomination> blank to export all xION v1 keys.

Save this output to a plain text document and close the wallet.

Next, re-import your new wallet.dat, or launch the secondary wallet on another computer, fully unlock it, and import this data with the command:

importzerocoins ‘[importdata]’

-

How to: Backup and restore xION Zerocoin private seed

importzerocoins

‘[{"d":denomination,"p":"pubcoin_hex","s":"serial_hex","r":"randomness_hex","t":"txid","h":height,"u":used},{"d":...}]’

Enter the command and formatted data exactly as shown above. Each xION v1 key can be entered consecutively, separated by a ‘,’. You can enter ‘help importzerocoins’ for further instructions and examples.



Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.