install_node
Massa node
Official documentation:
Explorer:
https://massa.net/testnet/
Install guide
Update packages
sudo apt update && sudo apt upgrade -y
Install dependencies
sudo apt install pkg-config curl git build-essential libssl-dev libclang-dev screen -y
Install rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Configure path
source $HOME/.cargo/env
Check rust version
rustc --version
Install nigthly and set it as default
rustup toolchain install nightly
rustup default nightly
rustc --version
Download and run node
screen -S massa
git clone --branch testnet https://github.com/massalabs/massa.git
cd massa/massa-node/
RUST_BACKTRACE=full cargo run --release -- -p "wallet_password" |& tee logs.txt
# tap Ctrl+A and D
Enable routing
# get config ip
ifconfig
# create config file
sudo tee <<EOF >/dev/null $HOME/massa/massa-node/config/config.toml
[network]
routable_ip = "external_ip_address"
EOF
# restart node
Run client
# tap Ctrl+A and D
cd massa/massa-client/
cargo run --release -- -p "wallet_password"
Generate wallet
wallet_generate_secret_key
Add staking secret keys
node_add_staking_secret_keys <secret_key>
Get test tokens
Go to Discord channel #testnet-faucet
and ask tokens

Check balance and by rolls
wallet_info

buy_rolls <wallet_address> 1 0

Incentivise registration
Tag bot any emoji in Discord channel #testnet-rewards-registration
. In the DM send to bot ip address and hash from command:
node_testnet_rewards_program_ownership_proof <staking_address> <discord_id>
Last updated