Script is located in ./transferRewardToPayoutKey
folder.
It transfers the whole balance - gas fee
at the moment of execution of the script from validator's key address to payout key address. It is a part of MoC setup and it is a part of deployment playbooks for AWS and non AWS setups.
Script's key features:
- it takes mining key address from
node.toml
configuration file for launching validator's Parity client. - it gets payout key from POA Network Consensus smart-contracts.
- it transfers a full balance from mining to payout key.
Transfer of reward has configured to execute once in an hour on the validator's node.