If you didn't know Newrl yet, take a look on my previous article https://www.publish0x.com/pramonoutomo/newrl-testnet-nodes-installation-xxzvrdp
anyone who already run the testnet before 9 October 2022, should check their mainnet wallet on https://wallet.newrl.net/ (click on top right togles to change from testnet to mainnet). after KYC or identity verification, you should see 1 OG_Token on your wallet, let's deploy mainnet nodes and use the OG_Token for staking.;
This OG_Token can be used as staking for a few month, so don't waste time and install mainnet nodes today :)
**without OG_Token you'll need around 500k NEWRL token for stake on your nodes.
For mainnet nodes you need T3.medium AWS like for server specification, so it's 2 core, 4gb ram and 100gb ssd disk are also good. i recomended using Contabo , OVH or LayerStack (use coupon: LSRF1510 for 10% discount)
This time i use ubuntu 22.
Install all dependencies needed
sudo apt-get update
sudo apt install -y build-essential libssl-dev libffi-dev git curl screen
sudo apt install software-properties-common
Add deadsnakes repository
sudo add-apt-repository ppa:deadsnakes/ppa
Install python, pip and python3 venv
curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py
sudo apt install python3.9-venv
sudo mkdir newrl-venv
cd newrl-venv
python3.9 -m venv newrl-venv
Refresh all variable / environment
source newrl-venv/bin/activate
Download and Build App Binaries
git clone https://github.com/newrlfoundation/newrl.git
Go to newrl folder
cd newrl
Run the mainnet
screen -S newrl
scripts/install.sh mainnet
Note: The port 8456 for mainnet and 8421 if testnet should be publicly accessible on the instance. On AWS, this can be done by opening inbound port in the security group. For local installations, the router need to be configured to bypass symmetric NAT for the port 8456 for mainnet and 8421 for testnet.
Create new wallet..
python3 scripts/show_wallet.py
just follow next instruction on your screen till you got a public , private and address data in your terminal.
let's call the data from { to } are json key.
save it and don't lose it.
If you are from testnet and want to use your old wallet address, you'll need to backup ".auth.json" file located at /newrl/data_testnet , the file may hidden. You need this file if you want to import your old wallet.
after backup, upload and replace file .auth.json on /newrl/data_mainnet on your new server. close the newrl screen and re-run the newrl script:
screen -S newrl -X kill
screen -S newrl
scripts/start.sh mainnet
Go to wallet https://wallet.newrl.net/ and login with your data + import your wallet json data, then check that you've received the OG_token after KYC approved. you can stake the OG_token and congratulation your nodes are ready to earn.. :) ...