Setup:
simd tx distribution set-withdraw-addr <claim_address> -y --from validator
simd tx authz grant <claim_address> generic --msg-type=/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission --from validator
simd tx authz grant <claim_address> generic --msg-type=/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward --from validator
Use:
simd tx authz exec <(simd tx distribution withdraw-rewards <valoper_address> --commission -y --from <validator_address> --generate-only) --from claim -y
Setup:
simd tx authz grant <voter_address> generic --msg-type=/cosmos.gov.v1beta1.MsgVote --from validator
Use:
simd tx authz exec <(simd tx gov vote <proposal_id> <yes_no_etc> --from <validator_address> --generate-only --chain-id <chain_id>) --from claim