Zero Node Setup English
- Aquire 10K Zero by either mining it or through one of the exchanges listed on our website.
- Be aware that starting a Zeronode will lock your coins in the wallet until the zeronode is disabled. This can be easily done by deleting the appropriate line from the zeronode.conf file.
- Locked coins will not show up your balances. The simple wallet has been updated to account for this, but the swing wallet will currently not display the locked coins on any screen.
- Get some coffee, this is going to take a little while.
Step 1 - Create a VPS with Ubuntu 16.04 or 18.04 on Digital Ocean, Vultr or the VPS provider of your choice. (Digital Ocean Free $100 - https://m.do.co/c/6145b6c5575d)
Step 2 - log in to your VPS as root using putty (https://www.putty.org) or the access console provided by your VPS provider. Instructions on how to do this should be provided by the VPS provider.
Step 3 - Type in the following command and press enter
wget https://raw.githubusercontent.com/zerocurrencycoin/Zero-Scripts/master/zeronode_install.sh
Step 4 - Type in the following command and press enter
chmod u+x zeronode_install.sh
Step 5 - Type in the following command and press enter
./zeronode_install.sh
- This step will ask several questions. When you reach the Generate Private key step press enter to generate a new key which will be used later in Setup part 2. At the end of the script save the IP and Private Key displayed.
Usage Commands For VPS & CLI
zero-cli zeronode status
zero-cli getinfo
zero-cli zeronode count
zero-cli zeronode list
Step 1 - Create a new address using the simple wallet
Step 2 - Send exactly 10,000 zero to the address created in step 1
- An existing address can be used, but you will need a single transaction of exactly 10K. An address with a balance of 10K will not work.
Step 3 - Go to the Zeronodes screen and press the Unused Outputs button, save this to notepad.
Step 4 - Press the New ZN button Fill out the form with the data provided in the VPS setup and the output from step 3.
- In the IP field only put in the IP, do not include the port. i.e 127.0.0.1, not 127.0.0.1:23801.
Step 5 - Restart the Simple Wallet
Step 6 - Check the VPS from part 1 to make sure it has finished syncing the blockchain. Run the following command on the VPS.
zero-cli getinfo
- Look for the line labeled blocks and compare it to the block height on our block explorer. http://insight.zerocurrency.io/insight/. If the VPS is in sync proceed to the next step.
Step 7 - Go to the Zeronodes screen and click on the line of your Zeronode in the top box, press the "Start Alias" button.
Step 1 - Create a new address using the swing wallet
Step 2 - Send exactly 10,000 zero to the address created in step 1
- An existing address can be used, but you will need a single transaction of exactly 10K. An address with a balance of 10K will not work.
Step 3 - Using console navigate to the folder containing the zerod and zero-cli files
Step 4 - Type in the following command and press enter
./zero-cli getzeronodeoutputs
- The result will look something like this.
[ { "txhash": "dce5d151bc02a21f0ea89722548e0b6e0d6b53f81df84d8c0478518cf7365d5a", "outputidx": 0 } ]
Step 5 - Using your favorite text editor to open the text file zeronode.conf, the default location for this file is listed below.
- Linux: ~/.zero
- MacOs: ~/Library/"Application Support"/zero/
Step 6 - Update the zeronode.conf file with all of the information collected previously in the following format
<alias> <IP:Port> <Zeronode Private Key> <Txhash> <outputidx>
<alias> - Any name you want to give this Zeronode
<IP:Port> - IP of the VPS for Part 1, Port 23801 only
<Zeronode Private Key> - Private Key from Part 1
<TxHash> - txhash line from part 2 step 4
<outputidx> outputidx from part 2 step 4
The final line added should look like this:
zn1 127.0.0.1:23801 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0
Step 7 - Restart the wallet
Step 8 - Check the VPS from part 1 to make sure it has finished syncing the blockchain. Run the following command on the VPS.
zero-cli getinfo
- Look for the line labeled blocks and compare it to the block height on our block explorer. http://insight.zerocurrency.io/insight/. If the VPS is in sync proceed to the next step.
Step 9 - Using console navigate to the folder containing the zerod and zero-cli files
Step 10 - Type in the following command and press enter
./zero-cli startalias "alias"
<alias> - from part 2 step 6. This command is case sensitive.