One-Click to build a New Kind of Network node on DigitalOcean

Allen Dixon
Feb 19 · 4 min read

NKN (New Kind of Network) is the new kind of P2P network connectivity protocol & ecosystem powered by a novel public blockchain. Our open source node software allows Internet users to share network connections and utilize unused bandwidth for rewards. By running an NKN node, you become part of the NKN network community helping to build the decentralized Internet so everyone can enjoy secure, low cost, and universally accessible connectivity.

Now it is even easier to join the NKN network and run your own node using DigitalOcean’s One Click.

Highlights: setup a NKN Full Node in 5 minutes

  • Easy one-click setup to join NKN’s public testnet
  • Host an NKN Full Node starting @ $5/mo and earn test tokens
  • Track your node with Mainnet Explorer

You can create your own NKN Node with just 3 easy steps:

  1. Deploy NKN Full Node on Digital Ocean
  • Follow the “one-click app” here:
Follow Link to start your one-click NKN Full Node
  • Choose the standard $5/mo option
  • Under “Select additional options” select the box next to the “User Data” option and enter the following script to use a beneficiary address. A beneficiary address is the wallet address where you would like all of you token rewards to be forwarded. If you do not have a NKN Wallet, you can create a new one by going to https://wallet.nkn.org/
#cloud-configwrite_files:
- owner: nkn:nkn
path: /home/nkn/go/src/github.com/nknorg/nkn/config.user.json
content: |
{
"BeneficiaryAddr": "YOUR_EXISTING_NKN_WALLET_ADDRESS"
}
runcmd:
- cd /home/nkn/go/src/github.com/nknorg/nkn/
- sudo jq -n --argfile c1 config.json --argfile c2 config.user.json '$c1 + $c2' > /tmp/config.json.merged
- sudo mv /tmp/config.json.merged config.json
- sudo chown nkn:nkn config.json

Replace YOUR_EXISTING_NKN_WALLET_ADDRESS in the text above with your NKN wallet address, a string starting with the letter NKN (example: NKNJLh2fzjrppBAzSbQbRz2HWmNoqacZ3EVQ)

  • Click Create

Note: It will take up to a few minutes for the node to be setup. You will see the droplet appear on your DigitalOcean dashboard with a green dot next to it indicating the droplet is active.

2.) Backup your wallet ID and password — Keep both of these files safe as it contains all the information to recover your wallet

  • Copy your wallet.json (includes your wallet ID) file to your computer

Example: Using Secure Copy (SCP) from your computer’s terminal:

scp root@[droplet IP Address]:/home/nkn/go/src/github.com/nknorg/nkn/wallet.json .
  • Copy your wallet.pswd (password file) to your computer

Example: Using Secure Copy (SCP) from your computer’s terminal:

scp root@[droplet IP Address]:/home/nkn/go/src/github.com/nknorg/nkn/wallet.pswd .

3.) Monitor your NKN node with Mainnet Explorer

  • From your browser, navigate to Mainnet Explorer
  • Enter your IP address and click “Check My Node!”

Congratulations! You are now running a NKN Full Node on DigitalOcean and can monitor your node from the Mainnet Explorer.

Non-mandatory Upgrades

Occasionally, NKN will offer new releases that are not mandatory upgrades. If you would like to upgrade to one of these new releases, you can do so by rebooting your node. Follow the instructions below to reboot your NKN Full Node on DigitalOcean:

1.) From the DigitalOcean Console, Click on the NKN Full Node droplet that you would like to reboot.

2.) Using the switch to the right of the NKN Full Node droplet, toggle the switch “off” then “on” again. The node will reboot, download the latest software, and synchronize which may take a few minutes to complete.

3.) You can monitor the status of your node from the Mainnet Explorer.

Home: https://nkn.org/

Email: contact@nkn.org

Telegram: https://t.me/nknorg

Twitter: https://twitter.com/NKN_ORG

Medium: https://medium.com/nknetwork

Linkedin: https://www.linkedin.com/company/nknetwork/

Github: https://github.com/nknorg

Reddit: https://www.reddit.com/r/nknblockchain

Discord: https://discord.gg/yVCWmkC

YouTube: http://www.youtube.com/c/NKNORG

#NKN

NKN (New Kind of Network) - Network Infra for Decentralized Internet

Allen Dixon

Written by

Innovator with a passion for integrating technology and business to create new opportunities and new solutions.

#NKN

#NKN

NKN (New Kind of Network) - Network Infra for Decentralized Internet

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade