Become a validator
Please, follow these instructions ONLY if you need to become a validator. If you want to set up only the RPC node or just validate the consensus rules you have already finished with it.
If you want to validate blocks and participate in consensus you have to make your node a validator.
Please note that app.toml file contains the configuration for the minimum gas price acceptable by your validator. For
example:
minimum-gas-prices = "1abridge"
Step 1: Key generation
First you have to generate keys for the validator account. Run the following commands to generate the key:
bridgeless-cored keys add validator_key --keyring-backend test --home=$BRIDGELESS_HOME
Please, backup the following files and folders:
$BRIDGELESS_HOME/keyring-test
Share your validator address (bridge...) with our team to receive the tokens required for validator creation.
After receiving confirmation about token accrual, execute the following command to stake tokens and become a validator.
-
Stake Tokens: You need to stake exactly
10000000000000000000000000(which is equal to 10 000 000 BRIDGE). -
Run the Command: Use the following command to stake your tokens and become a validator:
bridgeless-cored tx staking create-validator --amount 10000000000000000000000000abridge --commission-max-change-rate "0.01" --commission-max-rate "0.2" --commission-rate "0.1" --min-self-delegation "1" --details "Meet new Bridgeless validator" --pubkey $(bridgeless-cored tendermint show-validator --home=$BRIDGELESS_HOME) --moniker $MONIKER_NAME --chain-id bridge_2607-1 --fees 0abridge --from $(bridgeless-cored keys show validator_key -a --home $BRIDGELESS_HOME --keyring-backend test) --home=$BRIDGELESS_HOME --node=$BRIDGELESS_NODE --keyring-backend=test --log_level="debug" --broadcast-mode="block" --trace --gas 10000000
--amount: The amount of tokens you want to stake (10 000 000 BRIDGE).--commission-max-change-rate: The maximum rate at which your commission can change.--commission-max-rate: The maximum commission rate you can charge.--commission-rate: The commission rate you will charge.--min-self-delegation: The minimum amount of tokens you must always stake.--details: A description of your validator.--pubkey: The public key of your validator (automatically filled in by the command).--moniker: The name of your validator (replaceYOUR_VALIDATOR_NAMEwith your chosen name).--chain-id: The ID of the blockchain network.--fees: The transaction fees (set to 0 abridge).--from: The address of your validator (automatically filled in by the command).--home: The path to your configuration files.--node: The address of the node you are connecting to (replaceBRIDGELESS_NODEwith the actual node address).--keyring-backend: The backend you are using for the keyring.--log_level: The level of logging detail.--broadcast-mode: The mode for broadcasting the transaction.--trace: Enables tracing of the transaction.--gas: The amount of gas to use for the transaction.
$BRIDGELESS_NODE is a node address that you can get from our team.