Whats up everybody!
Now finally I can say that I have setuped my first Nym Node and I became a true ambassador!
If you interested in running your own Nym Mixnode, then this guide is for you!
First of all you need to install official NYM wallet and buy 101 $NYM (at least). Download from official site , buy tokens, send it to your wallet.
Then you need to rent the server, there are a lot of different platforms for that, so I think you will find out where to do this.
Okay, so when you will rent your server you will need to download terminal. I’m using PuTTY.
Login in on your server by using ip and password that host of the server have provided you.
Write this first
wallet=YOUR_WALLET
echo 'export wallet='$wallet >> $HOME/.bash_profile
Then install with 1 click with this command
wget -O nym_mainnet.sh https://api.nodes.guru/nym_mainnet.sh && chmod +x nym_mainnet.sh && ./nym_mainnet.sh
Enter the name.
Grete, node installed.
Now Open Nym wallet and go to the Bond section.
Click ob Bond and fill all the data. You can find data for filling by running this command in your terminal:
. $HOME/.bash_profile
nym-mixnode node-details --id $node_id
Next step is to set your operating cost, ammount to stake and prfit margin.
And the 3rd step is to copy command that app will tell you to copy with “coy message”, use this command in your terminal and replace YOUR_IDENTITY_KEY with message you’ve copied:
nym-mixnode sign --id $node_id --contract-msg YOUR_IDENTITY_KEY
Then copy signature from terminal and paste it.
Click Next.
Thats it!
You have done all steps.
Then you can go back in terminal and check is your node started to mixing packets
journalctl -u nym-mixnode -o cat | grep "Since startup mixed"
Make sure you have your ports open: 1789, 1790, 8000 (and 443, 22, 80) for correct operation and rewards
Some useful comands:
Describe your mixnode(the name that will be displayed in the explorer):
nym-mixnode describe --id $node_id
systemctl restart nym-mixnode
Check how many packets your node mixed:
journalctl -u nym-mixnode -o cat | grep "Since startup mixed" | tail -1
Restart your node:
systemctl restart nym-mixnode
Updating a node to nym-binaries-v2023.1-milka.
After updating, be sure to indicate the new version of the mixnode in your wallet!
wget -O nym_update.sh https://api.nodes.guru/nym_update.sh && chmod +x nym_update.sh && ./nym_update.sh
Extend ulimit (important for mixnode’s health in future):
– oneliner autoscript
wget -O nym_ulimit.sh https://api.nodes.guru/nym_ulimit.sh && chmod +x nym_ulimit.sh && ./nym_ulimit.sh