If you're a NULS 1.0 Agent Node operator, or you've got a NULS 1.0 wallet or private key, and aren't sure what to do in order to get going on the NULS 2.0 network, this guide is for you! We'll step you through exporting your private keys from your NULS 1.0 wallet or node, installing the NULS 2.0 wallet software, and importing your private keys, then starting up your NULS 2.0 node.
This guide is written for Windows wallets and Linux nodes. If you use other versions of the NULS software, the steps should be similar but will differ slightly based on what's required in your OS.
If you need additional support on this guide, drop us a line on our Technical Support channel in our Discord.
Phase 1 - Backing up your NULS 1.0 Wallet Private Keys
Phase 1 will help you back up your NULS 1.0 private keys for import into a NULS 2.0 wallet. If you do not have a NULS 1.0 wallet, you can skip phase 1 and go straight to Phase 3.
| |
|---|
Open your NULS 1.0 Wallet If your NULS is stored on a 1.0 wallet on your PC, you'll need to get a backup of your private keys to import your NULS into your 2.0 wallet. Click your NULS icon to open your NULS wallet. It may take 30-60 seconds to open, but it will open in a browser window. Click on the Wallet tab and ensure your accounts are listed under the "Account" drop down box Click the Icon next to the "Account" drop down box, and make a note of each address using a notepad application of your choice
|
|
Back up your private keys Follow these steps for each address you noted down in the previous step! Click the "Backup" link next to the account you wish to back up Enter your password for your wallet Click the "Private key backup of plaintext" link In the box that appears, click the "Copy" button to copy your private key to your clipboard. Go to your notepad where you noted down your address, and paste it next to your address. Close the popup window displaying your private key and click the "< Account" link at the top of the window to return to the previous page Repeat these steps for each address in your account list. Close your NULS 1.0 wallet. You will no longer need it, and can delete it at this point (but it might not be a bad idea to keep it around until you're completely up and running with your 2.0 wallet!)
|
|
Phase 2 - Backing up your NULS 1.0 Packing Address (optional)
If you also operate a NULS Agent Node, follow these steps to back up your NULS 1.0 packing address. This is optional, as you can technically just make a new packing address for your 2.0 node.
| |
|---|
Agent Node Operators - Backing up your packing address key (Optional) Log into your NULS Agent Node server via ssh and navigate to your NULS software folder. It should have the following folders: bin, conf, data, jre, libs, logs. Type the following command to open your NULS console Type "getaccounts 0 0" to list your accounts on your node. Typically, there will only be one - your packing address. Copy the "address" field and save it on your notepad Type the following command to back up your private key, where ADDRESS is the address you copied in the previous step Type "exit" to leave the command line. You should be returned to your directory where your bin, conf, data etc folders are located. Type "ls" to list all the files in this directory. A new file named ADDRESS.keystore will exist next to your folders. Type "cat ADDRESS.keystore" to get the contents of your keystore. It will show a string of text like this: {"address":"Nse2V8bHQMc7Rx7fBJyudXsCb6xqFHCR","encryptedPrivateKey":null,"alias":null,
"pubKey":"023c8bdf89b2037247cc267e5dc6679fd5449df24eb1108e34b08353a5a216ea3a",
"prikey":"YOUR_PRIVATE_KEY_HERE"}Your private key will be displayed in the YOUR_PRIVATE_KEY_HERE area (red in the picture on the right). Copy this string and save it to your notepad next to your address from the previous step.
| |
Phase 3 - Install the NULS light wallet software on your PC
This step will help you install the NULS 2.0 light wallet on your computer, which you can use to manage your NULS as well as set up an agent node. If you do not have a NULS 1.0 private key to import, you can skip the second step in this phase.
| |
|---|
Download the NULS Wallet Software Depending on your OS, download the proper NULS light wallet for your computer. Note, the image shows "Beta" but will be updated with the release of the official 2.0 mainnet software https://github.com/nuls-io/nuls-v2/releases There is no longer a "full client" in NULS 2.0. Instead, you can install and use a "light wallet" which does not require synchronizing blocks with the network, so it's much faster and more reliable than before. Download the appropriate software for your computer Double click on the installer to Install it Open the NULS 2.0 Wallet by clicking on the new icon If you cannot locate your new software icon on windows, it's located under %localappdata%\Programs\NULS-Wallet\NULS-Wallet.exe
| |
Import your Private Keys Once opened, you will initially be presented with a page where you can create a new key or import your existing one. If necessary, change the language to english as it defaults to chinese. Click the symbol in the top right corner, then pick "English" Click "Set" and then "Address List" to see a list of addresses Click the + Icon in the top right area of the "Address Management" page Click "Import Wallet" at the bottom of the dialog box, then select "Key Import" Copy the first private key from your notepad and paste it into the first field Enter a new password in the Password field, and enter it again in the "Confirm password" field Click "Import Wallet" Repeat this process for each address you wish to import
If you do not run a NULS Agent node, you're done! You have successfully transferred your wallet addresses from your 1.0 NULS wallet to your 2.0 NULS wallet. |
|