NuLink Testnet Nodes

 

NuLink Testnet Horus


Official documentation:


Recommended hardware requirements

Hardware

Specs

CPU

4 CPU

RAM

8GB RAM

DISK

100 GB SSD STORAGE

OS

Ubuntu 20.04 LTS

Required ports :

  • Exposed TCP port 9151 , make sure it's not occupied open port 9151

apt install ufw -y

ufw allow ssh

ufw allow https

ufw allow http

ufw allow 9151

ufw enable

1. Create a worker account (automatic instalation)

wget -O nulink.sh https://raw.githubusercontent.com/lukmanc405/testnet/main/nulink/nulink.sh && chmod +x nulink.sh && ./nulink.sh

  • at last creating worker you need to create password then repeat that image

  • save these information to your pc/notepad image

2. Send TBNB to your operator address above

3. NuLink Worker Installation

  • Copy the keystore file of the Worker account to the host directory selected in step 1. The private file generated by NuLink Worker will also be stored in this directory. Please ensure that this directory has 777 permissions, if not yet just type chmod -R 777 /root/nulink

  • then type this cp xxxxxxxx /root/nulink

  • Replace xxxxxxx by your Path of the secret key file

  • image

    • example it will be like this

    image

set vars

  • NOTE : CHANGE $YOUR_PASSWORD to your own password

export NULINK_KEYSTORE_PASSWORD=$YOUR_PASSWORD

export NULINK_OPERATOR_ETH_PASSWORD=$YOUR_PASSWORD


like this example :

image

4. set docker config

NOTE :

  • CHANGE $ETH_KEYSTORE_URL with your UTC--2022-09-21T11-15-34.119242544Z--7c14dhsdjhhdksahfsnjdjid (you created above in step 1)
  • CHANGE $OPERATOR_ADDRESS with your operator addres (you created above in step 1)

Reminder this will create pharse , you need to save that!

chmod -R 777 /root/nulink

 

docker run -it --rm \

-p 9151:9151 \

-v /root/nulink:/code \

-v /root/nulink:/home/circleci/.local/share/nulink \

-e NULINK_KEYSTORE_PASSWORD \

nulink/nulink nulink ursula init \

--signer keystore:///code/$ETH_KEYSTORE_URL \

--eth-provider https://data-seed-prebsc-2-s2.binance.org:8545 \

--network horus \

--payment-provider https://data-seed-prebsc-2-s2.binance.org:8545 \

--payment-network bsc_testnet \

--operator-address $OPERATOR_ADDRESS \

--max-gas-price 100


like this example : image

you will see like this ,copy and save to your notepad image

after then enter previously blue words

then showing like this ,save this info to yor notepad

image

5. Start the node

docker run --restart on-failure -d \

--name ursula \

-p 9151:9151 \

-v /root/nulink:/code \

-v /root/nulink:/home/circleci/.local/share/nulink \

-e NULINK_KEYSTORE_PASSWORD \

-e NULINK_OPERATOR_ETH_PASSWORD \

nulink/nulink nulink ursula run --no-block-until-ready

check node logs

docker logs -f ursula

make sure your note pad have these backup

image

Staking & Bond an active worker to gain reward


  1. Go to NLK faucet
  2. image

    image

    1. Now go to horus staking

    image

    1. Press max then confirm

    image

    1. Now bond worker

    image

    1. put your operator and node url address NOTE :
    • operator address = worker address
    • NODE URI=https://Your_adress_VPS:9151

    example :

    https://20.166.51.233:9151

    image

    image

    image

Congrats well done,you finish it!

Dont forget to fill the form

other command for worker nodes (if needed)

to delete node

cd $HOME && docker stop ursula && docker rm ursula && rm -rf ~/{geth-linux-amd64-1.10.24-972007a5,geth-linux-amd64-1.10.24-972007a5.tar.gz,

Comments