System requirements:
CPU: 4 Core
RAM: 8 Gb
SSD: 100 Gb
OS: Ubuntu 20.04 LTS
Installing the Massa Node | Update
- Preparing the server.
sudo apt update && sudo apt-get install libclang-dev
- Downloading binary files.
wget https://github.com/massalabs/massa/releases/download/TEST.24.1/massa_TEST.24.1_release_linux.tar.gz
- Unpack the downloaded archive
tar zxvf massa_TEST.24.1_release_linux.tar.gz
- Before starting the node, we will write the server ip-address in the config.
sudo tee <<EOF >/dev/null $HOME/massa/massa-node/config/config.toml
[network]
routable_ip = "`wget -qO- eth0.me`"
EOF
- Launching the node.
cd $HOME/massa/massa-node/ && ./massa-node
-
Stop node Ctrl+C
-
Create a service file. (change password to your own)
printf "[Unit]
Description=Massa Node
After=network-online.target
[Service]
User=$USER
WorkingDirectory=$HOME/massa/massa-node
ExecStart=$HOME/massa/massa-node/massa-node -p <password>
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target" > /etc/systemd/system/massad.service
- Launch the node.
sudo systemctl daemon-reload && sudo systemctl enable massad && sudo systemctl restart massad
- Checking the logs.
sudo journalctl -f -n 100 -u massad
WE WAITING FOR THE NODE FOR BOOTSRAPE
- Launching the client.
cd $HOME/massa/massa-client/ && ./massa-client
- Generating a new wallet.
wallet_generate_secret_key
12.See address.
wallet_info
-
Request test tokens in project discord.
-
Enable staking.
node_start_staking <wallet address>
- Buying a roll.
buy_rolls <wallet address> 1 0
- Checking the purchase of a roll.
wallet_info
- We send our IP to Discord Massa Bot, in the terminal we enter the following command.
node_testnet_rewards_program_ownership_proof <wallet address> <id from Discord>
-
We send the result of the received command to Massa Bot in Discord.
-
We track the accrual of points from Massa Bot with the "info" command.
- Download binary files, start the service.
cd $HOME && wget https://github.com/massalabs/massa/releases/download/TEST.24.1/massa_TEST.24.1_release_linux.tar.gz && tar zxvf massa_TEST.24.1_release_linux.tar.gz && sudo systemctl restart massad && sudo journalctl -f -n 100 -u massad
- Launching the client.
cd $HOME/massa/massa-client/ && ./massa-client -p <YOU_PASSWORD>
- See address.
wallet_info
- Request test tokens in project discord.
- Buying a roll.
buy_rolls <wallet address> 1 0
- Checking the purchase of a roll.
wallet_info
- We send our IP to Discord Massa Bot, in the terminal we enter the following command.
node_testnet_rewards_program_ownership_proof <wallet address> <id from Discord>
-
We send the result of the received command to Massa Bot in Discord.
-
We track the accrual of points from Massa Bot with the "info" command.