Skip to content

vlasov-hub/Massa-Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Massa-Guide

Here is a ENG guide for installing Msaas node in a testnet and gerring reward points. Also there is a Türkçe Rehber

1) Let's start installing Node.

wget -O massaTR.sh https://raw.githubusercontent.com/thisislexar/Massa-Testnet/main/massaTR.sh && chmod +x massaTR.sh && ./massaTR.sh

Here we type 1 and press enter.

image

Here we enter a password and make a note of it.

image

2) Continue.

Let's open the screen for Node.

source $HOME/.bash_profile
sudo ufw allow 31244
sudo ufw allow 31245
sudo ufw enable
cd $HOME/massa/massa-node
screen -S node

Paste the command below as it is, this may take a bit longer.

RUST_BACKTRACE=full cargo run --release -- -p $PASSWORD|& tee logs.txt

image

After the logs are as follows, we continue.

image

Let's exit the node screen by doing CTRL + A + D.

image

Let's go to the client folder and open the Client screen.

cd $HOME/massa/massa-client/
screen -S client

Let's run the following command by changing the <Password> part.

cargo run --release -- -p <Password>

We are waiting for it to end.

image

After it is finished, you will see a screen like this. Enter the following command to create a wallet.

image

wallet_generate_secret_key

image

Then you can learn your wallet information with the following command.

wallet_info

image

Next, we change the <your_secret_key> part in the command below and enter it. What you need to write in that section is the script key you see in the wallet_info section.

node_add_staking_secret_keys <your_secret_key>

For example:

node_add_staking_secret_keys S12xxxx6Esnbxxxxxxxxxxxxxxx

Then we go to Discord and get faucet.

image

We return to the terminal again and check whether the token has arrived with the wallet_info command.

image

If our tokens have arrived, we enter the following command by changing the <ADDRESS> part.

buy_rolls <ADRES> 1 0

For example like this:

buy_rolls A12nr9K1XfXBfKw75cQVNZafFRjwMj6pYwpS7tf2RnHaLitv6cG4 1 0

Afterwards, we go to the testnets-rewards-registration channel in Discord and send a random message.

image

MassaBot sends us a DM message, we paste the required part of the message into the terminal. Remember to replace your_staking_address with your own wallet address.

Ekran Resmi 2022-12-06 01 33 16

After the command we entered in the terminal, it gives us an output, and you send this output to the chat with MassaBot.

Ekran Resmi 2022-12-06 01 35 16

Then send MassaBot the server IP where you set up the Massa node.

Ekran Resmi 2022-12-06 01 39 50

If everything is ok, you will get a message like below.

Ekran Resmi 2022-12-06 01 37 48

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors