Becoming a Validator on Mainnet
Creating a Wallet
Create a New Wallet: To create a new wallet, use the command below. Remember to save the mnemonic for future recovery.
Recover Your Wallet Using a Seed Phrase: If you need to recover your wallet, you can use the following command with your seed phrase:
List All Your Wallets: To see a list of all configured wallets in your client:
Saving Wallet Information
Store Wallet and Validator Addresses: You can store your wallet and validator addresses into environment variables for easy access:
Funding Your Wallet
Add Funds to Your Wallet: Currently, this section is not applicable. Please ensure your wallet has funds for transactions and staking if required by the network.
Creating a Validator
Check Your Wallet Balance: Before creating a validator, check the balance of your wallet to ensure you have enough funds:
Create a Validator Node: To set up your validator on the Crossfi network, use the following command. Adjust the parameters such as the amount of tokens to stake (1000000mpx
in this example) according to your situation:
This guide provides clear steps for setting up a wallet, funding it, and establishing a validator on the Crossfi network. Make sure to follow the network-specific requirements and adjust the commands accordingly.
Delegate Stake
To delegate your tokens to a validator, use the following command. In this example, we delegate 1000000mpx
to the validator whose operator address is set in your environment variable CROSSFI_VALOPER_ADDRESS
. Adjust the amount based on the number of tokens you wish to stake.
Parameters Explanation:
--from=$WALLET
: Specifies the wallet from which the tokens will be delegated.$CROSSFI_VALOPER_ADDRESS
: The operator address of the validator you are delegating to.1000000mpx
: The amount of tokens you are delegating. Adjust this value according to your intention.--chain-id=$CROSSFI_CHAIN_ID
: The identifier for the Crossfi network chain you are interacting with.--gas auto
: Automatically estimates the amount of gas needed to perform the transaction.--gas-adjustment 1.5
: Multiplier to apply to the estimated gas to ensure the transaction goes through in conditions of varying network demand.--gas-prices 10000000000000mpx
: Sets the maximum price you are willing to pay per unit of gas.
Last updated