CosmoBook nodes
  • README
  • Cosmos validator node guides
    • defund
      • defund_on_akash
      • old_defund-private-1
        • install_node
    • haqq
      • install_node
    • humans
      • commands
      • install_mainnet
      • install_testnet
      • Statesync instructions
      • Upgrade mainnet validator node
    • hypersign
      • install_node
    • ollo
      • install_node
    • paloma
      • install_node
    • quicksilver
      • install_node
    • rebus
      • install_node
      • install_with_cosmovisor
    • sei
      • Gentx for Sei Incentivized testnet (chain-id atlantic-1)
      • install_node
      • old_sei-testnet-2
        • install_node
    • stafi
      • install_node
    • stride
      • install_node
      • old_stride1
        • install_node
      • old_stride2
        • install_node
    • ununifi
      • install_node
  • polkadot
    • subspace
      • install_node
  • starknet
    • StarkNet node
  • usefull utils
    • List of usefull commands
    • cosmos_monitoring
      • install_guide
    • relayer_hermes
      • Hermes relayer
    • relayer_ibc_go_v.2.0.0
    • Faucet
  • blockclique
    • massa
      • install_node
  • ethereum
    • masa_finance
      • install_node
    • obol
      • Charon Distributed Validator Node
Powered by GitBook
On this page
  • Massa node
  • Install guide
  1. blockclique
  2. massa

install_node

PreviousmassaNextethereum

Last updated 1 year ago

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>
image
image
image
Validator setup instructions