Claiming Rewards
Mining Rewards
After the reward epoch has finalized, mining rewards can be claimed with:
boundless povw claim --log-id ${REWARD_ADDRESS} --rpc-url ${RPC_URL} --beacon-api-url ${BEACON_CHAIN_RPC_ENDPOINT} --private-key ${PRIVATE_KEY}
This process is permissionless and DOES NOT require the private key for the address eligible for the rewards. The only requirement is that the PRIVATE_KEY
has enough funds to cover gas costs on Ethereum mainnet. claim
uses Bento for proving (see claim.rs); therefore, make sure to have Bento running locally or specify a valid Bento API URL endpoint via --bento-api-url
.
Staking Rewards
After the reward epoch has finalized, staking rewards can be claimed with:
boundless zkc claim-rewards --rpc-url <RPC_URL> --private-key <PRIVATE_KEY>
where PRIVATE_KEY
is the private key of the address that has the reward power. This would be the private key for the rewards address when using the recommended wallet setup.
Checking Details of Current Reward Epoch
If the reward epoch has not been finalized yet, provers can check details of the the current epoch:
boundless zkc get-current-epoch
This will return the epoch number; this epoch number can be passed into the following command to get the end time for the current epoch:
boundless zkc get-epoch-end-time <EPOCH_NUMBER>