Skip to content

YTWOFUND/Massa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 

Repository files navigation

Massa

Massa node Installation Instructions.

Official documentation

System requirements:
CPU: 4 Core
RAM: 8 Gb
SSD: 100 Gb
OS: Ubuntu 20.04 LTS

Installing the Massa Node | Update

  1. Preparing the server.
sudo apt update && sudo apt-get install libclang-dev
  1. Downloading binary files.
wget https://github.com/massalabs/massa/releases/download/TEST.24.1/massa_TEST.24.1_release_linux.tar.gz
  1. Unpack the downloaded archive
tar zxvf massa_TEST.24.1_release_linux.tar.gz
  1. 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
  1. Launching the node.
cd $HOME/massa/massa-node/ && ./massa-node
  1. Stop node Ctrl+C

  2. 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
  1. Launch the node.
sudo systemctl daemon-reload && sudo systemctl enable massad && sudo systemctl restart massad
  1. Checking the logs.
sudo journalctl -f -n 100 -u massad

WE WAITING FOR THE NODE FOR BOOTSRAPE

  1. Launching the client.
cd $HOME/massa/massa-client/ && ./massa-client
  1. Generating a new wallet.
wallet_generate_secret_key

12.See address.

wallet_info
  1. Request test tokens in project discord.

  2. Enable staking.

node_start_staking <wallet address> 
  1. Buying a roll.
buy_rolls <wallet address> 1 0
  1. Checking the purchase of a roll.
wallet_info
  1. 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>
  1. We send the result of the received command to Massa Bot in Discord.

  2. We track the accrual of points from Massa Bot with the "info" command.

Update

  1. 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 
  1. Launching the client.
cd $HOME/massa/massa-client/ && ./massa-client -p <YOU_PASSWORD>
  1. See address.
wallet_info
  1. Request test tokens in project discord.
  2. Buying a roll.
buy_rolls <wallet address> 1 0
  1. Checking the purchase of a roll.
wallet_info
  1. 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>
  1. We send the result of the received command to Massa Bot in Discord.

  2. We track the accrual of points from Massa Bot with the "info" command.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published