Horus 2 node
Server specifications
CPU
2+ VCPU
RAM
4+ GB
Storage
40+ GB SSD
UBUNTU
20
Installing essentials components
Before diving into the installation of your node, it's essential to update your VPS. To do this, simply run the following command in your VPS terminal :
sudo apt-get update && sudo apt-get upgrade -yInstalling Docker
Run the following command in your terminal :
sudo apt install docker.io Check that Docker has been correctly installed :
docker --version Installing Geth
Geth is a command-line tool for running a node.
wget https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.13.8-b20b4a71.tar.gzExtract the file :
tar -xvzf geth-linux-amd64-1.13.8-b20b4a71.tar.gzEnter the Geth folder, and create your EVM wallet:
cd geth-linux-amd64-1.13.8-b20b4a71 ./geth account new --keystore ./keystore
Enter a password and keep it to one side, as you'll need it later. A wallet address will also be generated. Keep it to one side too.
Installing Nulink
Get the NuLink image docker :
cd docker pull nulink/nulink:latestCreate a Nulink folder
cd /root mkdir nulinkCopy your private keys folder into the NuLink folder:
cp /root/geth-linux-amd64-1.13.8-b20b4a71/keystore/* /root/nulinkGive all permissions to your NuLink folder:
chmod -R 777 /root/nulinkNode configuration
You'll start by defining a password for your operator.
export NULINK_KEYSTORE_PASSWORD=<YOUR_PASSWORD>In the next command, enter the password you created in the previous step :
export NULINK_OPERATOR_ETH_PASSWORD=<YOUR_PASSWORD>In the next command, enter the EVM wallet you generate in the previous step :
export WALLET=<YOUR_WALLET>In the next command, enter the Keystore name you generate in the previous step :
export KEYSTORE=<YOUR_KEYSTORE>Node initialisation
Run the command :
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/$KEYSTORE \
--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 $WALLET \
--max-gas-price 10000000000This will generate a seed phrase. Keep it safe.
Node laucnh
Run your node with the following command :
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-readyCheck the log
docker logs -f ursulaLast updated