Skip to content

Latest commit

 

History

History
 
 

nym

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Join our telegram Join our discord Visit our website

Deploy your VPS using our referral link to get 20€ bonus

Deploy your VPS using our referral link to get 100$ free bonus for 60 days

Deploy your VPS using our referral link to get 100$ free bonus

NYM MIXNODE SETUP GUIDE (v1.0.1 - MAINNET)

To check health of your mixnode you can use:

MIXNODE SYSTEM REQUIREMENTS

For the moment mixnode does not require beastly server with multiple cores. Current system requirements are:

  • 2 vCPU
  • 1 GB RAM
  • Support of IPv4 and IPv6

BEFORE YOU BEGIN

To start with Nym mixnode installation please create your Nym wallet first. If you have already generated your wallet you can skip next step and go straight to INSTALATION

Generate nym wallet

  1. Go to https://nymtech.net and download the latest available version of Nym Wallet
  2. Install wallet application on your computer. Allow Smartscreen to install application from unknown publisher
  3. Open aplication and create new account

Please make sure you have saved your 24 word mnemonic, make sure to store it in a safe place for accessing your wallet in the future!

  1. After you have entered the wallet application, make sure you have selected correct network from dropdown at the top of the screen. Choose Nym Mainnet for mainnet

  1. You can find your Nym wallet address in balance field. It should begins with n1...

INSTALLATION

  1. Run one-liner below to install your nym mixnode and follow the on-screen instructions
wget -O nym.sh https://raw.githubusercontent.com/kj89/testnet_manuals/main/nym/nym.sh && chmod +x nym.sh && ./nym.sh

  1. When installation is finished, run command below to load variables into system
source $HOME/.bash_profile
  1. Afterwards you can check your node details by running command
nym-mixnode node-details --id $NODENAME

BOND YOUR MIXNODE

Your node will start mixing packets only when bonded

  1. First of all you will have to top up your wallet with nym tokens.

  2. Navigate to Nym wallet and go to Bond section

  1. Fill out all fields with your mixnode details

make sure to leave some amount of coins for commission

  1. Set up your Amount of pledge (minimum 100 NYM tokens) and reasonable Profit percentage and click Bond

  1. Thats it, now your mixnode is bonded!

CHECK YOUR MIXNODE STATUS

After bonding mixnode, it should start mixing packets

To check mixed packets

journalctl -u nym-mixnode -o cat | grep "Since startup mixed" | tail -1

If you dont see any new packets mixed, just give it some 5-10 minutes and check again!

UPDATE YOUR MIXNODE

wget -O update.sh https://raw.githubusercontent.com/kj89/testnet_manuals/main/nym/update.sh && chmod +x update.sh && ./update.sh

OTHER USEFUL COMMANDS

See your mixnode logs (CTRL+C to exit)

journalctl -u nym-mixnode -f -o cat

Add description

nym-mixnode describe --id $NODENAME

Restart your node

systemctl restart nym-mixnode

Decypher your Public Identity and Sphinx keys

ls -1 $HOME/.nym/mixnodes/*/data/public_identity.pem | while read F; do echo === $F ===; grep -v ^- $F | openssl base64 -A -d | base58; echo; done
ls -1 $HOME/.nym/mixnodes/*/data/public_sphinx.pem | while read F; do echo === $F ===; grep -v ^- $F | openssl base64 -A -d | base58; echo; done