V6 Mainnet Node Instructions
Step-by-step guide to run a V6 Mainnet Node, brought to you by OriginTrail Club and the DKG Node Alliance.
You must create a total of 4 wallets for the following step.
Mapping a hardware EVM wallet (such as Ledger) to a hot substrate wallet (such as polkadot.js or Talisman wallet) could expose your funds to the Internet since both EVM and substrate wallets can have full access to your funds on the Polkadot Ecosystem. Waiting for OTP Ledger support before mapping is advised to protect your funds. For the time being, the safest method to run a mainnet node is highlighted in the temporary safe method to run a mainnet node section. If you want to simplify the process and you are fine with using a hot substrate wallet, please proceed to step 2.
You can also ask for some dust on OriginTrail Node Community. You need at least 1 OTP to keep your substrate wallet active and another OTP for transaction fees (total: 2 OTP). You need 2 OTP on both of your substrate wallets (wallet 3 and 4 from step 1).
Mapping is a permanent method to link an EVM to a substrate wallet so actions on either chain will reflect on your mapped wallet.
Your goal here is to map wallet 1 and 3 together, and wallet 2 and 4 together from step 1.
To do so, connect to the mapping interface with the appropriate MetaMask wallet and paste the corresponding substrate wallet. 2 pop-ups will follow and sign both transactions.
If mapping doesn't prompt you with 2 transactions, make sure you have at least 2 OTP on your substrate wallet, try disabling all other extensions and restart your browser. You can also use a different browser. Choose between Chrome, Brave, Firefox.
Repeat for wallet 2 and 4 from step 1 and you would have completed the mapping process for your node.
You require a minimum of 50k TRAC to run a mainnet node. You must fund your EVM Management wallet with the required amount (wallet 2). You can purchase TRAC on platforms such as Coinbase, Kucoin, Binance US, Huobi and Uniswap and once purchased, you need to teleport or bridge them to the OT Parachain. OT-RFC-16 is currently underway to determine how to bridge TRAC to the OT Parachain and back.
OTP is used as gas to send teleported TRAC so always have at least 2 OTP on each wallet containing teleported TRAC.
To view your TRAC balance on Metamask, first switch your network to OriginTrail Parachain Network, then add the TRAC token address using the import function
In order to deploy your OriginTrail V6 node, you will need a Linux server with the following minimum recommended hardware:
- 4GB RAM
- 50GB HDD space
Log in to the server as root. You cannot use sudo and run this script.
Gather the following information:
Run the one-liner installer script:
cd /root/ && curl https://raw.githubusercontent.com/OriginTrail/ot-node/v6/release/mainnet/installer/installer.sh --output installer.sh && chmod +x installer.sh && ./installer.sh
You must choose a SQL password for the installer to work. Do not leave that field empty.
In order to use aliases to quickly check node logs, start/stop/restart node, change node config, you must execute the following script after the installation:
Once the sourcing is done, try the following: otnode-logs
Even though your node is online, your node does not have any stake nor ask price, which will be covered on Step 7. However, before you continue, please read the following:
The benefits of joining the DKG Node Alliance include special access to a private Telegram channel, exclusive node support by top community members, node monitoring and maintenance scripts, collaboration to maintain a healthy DKG network, voting and governance and more to come.
The Node Alliance will leverage the DKG for voting purposes and currently occupies over 50% of the DKG V6 Node network.
DKG Node Alliance members include Amos, LuKu, CosmiCloud, Calvin and BRX just to name a few.
First, log in with your management and operational EVM wallets;
Go to tab "Service Tokenomics";
Input your ask price and sign the transaction. The Node Alliance current minimum ask is 0.24 TRAC/(epoch * KB);
Input the amount of stake you want. Minimum stake is 50,000 TRAC;
Restart your node:
systemctl restart otnode
The installer above will only set up all the prerequisites and node files. You must run 2 scripts to create the node profile and set your service ask price.
First, stop the node:
systemctl stop otnode
Gather the following information:
Navigate to the current ot-node version folder:
Once you have all the information above, run the following command by replacing the values in <> with the correct information (you can also change the other options if needed):
Set the stake of your node:
npm run set-stake -- --rpcEndpoint=https://astrosat-parachain-rpc.origin-trail.network/ --stake=50000 --operationalWalletPrivateKey=<private_key> --managementWalletPrivateKey=<private_key> --hubContractAddress=0x5fA7916c48Fe6D5F1738d12Ad234b78c90B4cAdA
Set the service ask of your node:
npm run set-ask -- --rpcEndpoint=https://astrosat-parachain-rpc.origin-trail.network/ --ask=0.24 --privateKey=<operational_wallet_private_key> --hubContractAddress=0x5fA7916c48Fe6D5F1738d12Ad234b78c90B4cAdA
Once you are done, restart the node:
systemctl restart otnode
This is when your initial stake of 50k TRAC or above is sent from your initial wallet to your node profile contract.
Check the logs, everything should be completed!
journalctl -u otnode --output cat -fn 100
You can now use aliases such as otnode-logs to quickly view logs without having to type the entire string above!
- 1.Use the instructions here to pair 3 wallets.
- 1.1 main wallet pair to receive your teleported TRAC and OTP bounty
- 2.1 operational wallet pair for your node
- 3.1 management wallet pair for your node
- 2.Receive your teleported TRAC and OTP bounty on main mapped wallet (wallet #1 above)
- 3.Send some teleported TRAC to management evm wallet (wallet #3 above), and some OTP to op / management wallets
- 4.Set up your node following the instructions above
- 5.When OTP is supported by ledger, change your management and operational wallet addresses to a brand new ledger evm + ledger otp mapped wallet