Prerequisites to staking

You need Sepolia ETH for gas to stake your miner node. The amount of Sepolia ETH can vary based on demand fom 0.01 to 0.025 or more

Staking your miner node

To stake your miner node, follow the steps below. These steps will guide you through transferring Sepolia ETH to your wallet address, staking your miner node, and verifying that your node is staked.

1

Step 1

Locate your public key (wallet address) and transfer Sepolia ETH to it

Your public key (wallet address) can be found in the Public Key log entry when you run your miner node. This log entry will be visible in the terminal output. As in the example below:

    #######################################
    #     __  __    _    ____    _        #
    #    |  \/  |  / \  / ___|  / \       #
    #    | |\/| | / _ \ \___ \ / _ \      #
    #    | |  | |/ ___ \ ___) / ___ \     #
    #    |_|  |_/_/   \_\____/_/   \_\    #
    #                                     #
    #######################################

    Multiaddress:        /ip4/192.168.1.8/udp/4001/quic-v1/p2p/16Uiu2HAmDXWNV9RXVoRsbt9z7pFSsKS2KdpN7HHFVLdFZmS7iCvo
    IP Address:          /ip4/127.0.0.1/udp/4001/quic-v1
    Public Key:          0x5dA36a3eB07fd1624B054b99D6417DdF2904e826 
    Is Staked:           false
    Is Validator:        false
    Is TwitterScraper:   false
    Is DiscordScraper:   false
    Is TelegramScraper:  false

In the example above, the public key which is the wallet address is 0x5dA36a3eB07fd1624B054b99D6417DdF2904e826 This is where you would send Sepolia ETH to.

2

Step 2

Get MASA tokens from the Masa faucet

Use the faucet to obtain Sepolia MASA to stake your miner node. Remember you need Sepolia ETH for gas to get MASA from the faucet.

make faucet
3

Step 2

Stake your miner node

The following command will stake your minder node with 1,000 MASA. This will also require Sepolia ETH for gas.

make stake
4

Verify your miner node is staked

Confirm that your miner node is successfully staked by examining the log. You should see Is Staked: true as shown in the example below:

#######################################
#     __  __    _    ____    _        #
#    |  \/  |  / \  / ___|  / \       #
#    | |\/| | / _ \ \___ \ / _ \      #
#    | |  | |/ ___ \ ___) / ___ \     #
#    |_|  |_/_/   \_\____/_/   \_\    #
#                                     #
#######################################

Public Key:          0x5dA36a3eB07fd1624B054b99D6417DdF2904e826 
Is Staked:           true