Interact with the blockchain
MXPY
Configure mxpy Address HRP
For the validator pem to interact with the mxpy we need to create a json with the path having the following structure
{
"validators": [
{
"pemFile": "validatorKey.pem"
}
]
}Add a validator
mxpy validator stake \
--pem=walletKey.pem \
--value="2500000000000000000000" \
--validators-file=validator.json \
--proxy="https://gateway.validators.onefinity.network" \
--gas-limit 25000000 \
--recall-nonce \
--sendUnstake a validator
Last updated