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

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 Commercial Node in 5 minutes

  • Easy one-click setup to join NKN’s public mainnet
  • Host an NKN Commercial Node starting @ $5/mo and earn mainnet tokens
  • Track your node and wallet with nknx.org

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

  1. Deploy NKN Commercial Node on Digital Ocean
  • Follow the “one-click app” here:



Follow Link to start your one-click NKN Commercial 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/. * Alternatively, you can create NKN wallet using our mobile app nMobile, or use the Vault desktop wallet developed by nknx community.
#cloud-config

write_files:
  - owner: nkn:nkn
    path: /home/nkn/nkn-commercial/config.json
    content: |
      {
        "beneficiaryAddr": "YOUR_EXISTING_NKN_WALLET_ADDRESS"
      }

Replace YOUR_EXISTING_NKN_WALLET_ADDRESS in the text above with your NKN wallet address, a string starting with prefix 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.) Setup nknx.org to monitor your NKN node and wallet

  • Open an account at nknx.org
  • Add your node to the Nodes Manager

  • Add your wallet to the the Wallet Tracker

Tip: The wallet Address is located in the backup file wallet.json as “Address”:”[string starting with NKN]”

Congratulations! You are now running a NKN Commercial Node on DigitalOcean and can monitor your node and wallet rewards from nknx.org.

Home: https://nkn.org/

Email: [email protected]

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

2 Likes

One user was concerned that the above script will replace the config.json in the folder /home/nkn/nkn-commercial to only one line that includes the beneficiary address. And it seems as if all the other configs (like seed node, etc) are deleted.

But fear not, there is the actual NKN mainnet node related config.json in this folder

/home/nkn/nkn-commercial/services/nkn-node

that has all the seed node and other necessary configurations to run NKN mainnet node.

Why? NKN Commercial is like an umbrella daemon service: it runs nkn mainnet node in addition to value added services such as nConnect tunneling service. All these services can earn NKN reward, thus they need a common Beneficiary wallet address, which is set at the entire NKN Commercial level. On the other hand, each service will have its own specific configuration, that are set per service. NKN mainnet is just one of such services.

My account on Digitalocean has been approved recently for 100+ nodes and I am ready to set them up. Can I use the same beneficiary address for all of them?

Yes you can

1 Like

I just set up 100 droplets on Digitalocean and found out, even when I added the “User Data” as displayed above with my beneficiary address during creating those droplets there is no config.json file now in “/home/nkn/nkn-commercial/” directory, however there is a config.json file in “/home/nkn/nkn-commercial/services/nkn-node/” directory which contains BeneficiaryAddr, SeedList and GenesisBlockProposer but BeneficiaryAddr is empty in all 100 nodes. I guess this is not correct. What am I doing wrong?

Did you paste the entire text above? including the “#cloud-config” line?

1 Like

I didn’t. I considered it to be just a comment in the code. My bad.
It works now and the config.json file is in “/home/nkn/nkn-commercial/” directory now.
Thank you for your quick response.

1 Like

I can’t find select “additional options” to enter the script.
Also when I create account on nknx.org it gives me this message

Reset Password

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.ge:
I never receive the email to verify my account

Oops! An Error Occurred

The server returned a “405 Method Not Allowed”.

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
when I click requst another email I get tgis message:

Hello! I’m mining NKN on DO and using beneficiary address to collect all the rewards. However I have difficulties to identify how many coins over time a particular node has mined. https://nknx.org/node-manager does show this but only for a current day and https://nscan.io/ shows just reward transactions. Is there a way to see a “statement” of each node?

I created a DigitalOcean account this morning, deployed a droplet and before it could pull the 10 NKN from wallet, DigitialOcean Security team locked my account for atypical activity. They are not responding to the ticket. I liked the service … for the 10 minutes I was able to use it.

Hello,

NKNx is a centralized service where a bunch of node status have to refreshed. Its database is not “live” so it could explain some difference. Nstatus is using a direct connection to your node so believe it :wink:

nb: if you are checking an node on the same LAN network (a Pi or a windows computer) you need to input the local IP of your node instead of your WAN ip.

Best

Anyone interested to take my 3 nodes, just pay me back the NKN paid to setup