Massa testnet TEST.19.1 guide!

Giuseppe Boeing
4 min readFeb 3, 2023

--

A new phase of the test is about to begin. Let’s figure out how to set up a node for successful completion of tasks.

First of all we need a server, the technical requirements for it are recommended by the team: (VPS/VDS/DS): 4 CPU, 8 GB RAM, 100 GB SSD, Ubuntu 20.04

1. Let’s update the server and install the necessary packages:

sudo apt update && sudo apt upgrade -y

sudo apt install wget jq git build-essential pkg-config libssl-dev -y

2. Download and make the binaries executable:

massa_version=`wget -qO- https://api.github.com/repos/massalabs/massa/releases/latest | jq -r “.tag_name”`; \
wget -qO $HOME/massa.tar.gz “https://github.com/massalabs/massa/releases/download/${massa_version}/massa_${massa_version}_release_linux.tar.gz"; \
tar -xvf $HOME/massa.tar.gz; \
rm -rf $HOME/massa.tar.gzsudo apt install wget jq git build-essential pkg-config libssl-dev -y

chmod +x $HOME/massa/massa-node/massa-node \
$HOME/massa/massa-client/massa-client

3. Now you need to come up with a password for your wallet and node.

. <(wget -qO- https://raw.githubusercontent.com/SecorD0/utils/main/miscellaneous/insert_variable.sh) -n massa_password

4. Let’s check if the password is set correctly:

echo “$massa_password”

Make sure you remember the password, it will be impossible to recover!

5. Adding variables to the system:

. <(wget -qO- https://raw.githubusercontent.com/SecorD0/Massa/main/insert_variables.sh)

6. Create a service file

sudo tee <<EOF >/dev/null /etc/systemd/system/massad.service
[Unit]
Description=Massa Node
After=network-online.target

[Service]
User=$USER
WorkingDirectory=$HOME/massa/massa-node ExecStart=$HOME/massa/massa-node/massa-node -p “$massa_password” Restart=on-failure
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

7. Let’s run the service file:

sudo systemctl daemon-reload
sudo systemctl enable massad
sudo systemctl restart massad

8. Check if everything is running correctly:

massa_log

9. Now start the client and create a wallet

massa_client

10. Checking information about the wallet

massa_wallet_info

11. Exiting from the client

exit

12. Now we need to request test tokens, go to the discord channel #testnet-faucet
You can check the availability of tokens in the expolorer https://massa.net/testnet/

13. Turning on the possibility of stacking

massa_cli_client -a node_start_staking

After activation, you need to wait about one hour for ROLL to become active!

14. Next you need to register a node:

On the Discord server go to chat #⌠✅⌡testnet-rewards-registration;
Write any message and wait until the bot will write in private messages (interaction with the bot only through them);
Send the bot IP address of the server.

15. After that on the server you must enter the command that the bot will give you, giving your address and Discord ID

node_testnet_rewards_program_ownership_proof <your_staking_address> <DISCORD ID>

16. The output value of the command send to the bot in Discord

17. Check that everything is correct — by sending the bot info (must be all 3 values)

About Massa:

Massa is a high-performance blockchain designed to be truly decentralized from the start. Massa testnet was released in July 2021, providing an easy way for anyone to test our protocol, and has been constantly improving since then.

--

--