Solidity - Chainlink Keepers Miner Bonus

Subscribers:
1,210
Published on ● Video Link: https://www.youtube.com/watch?v=LHppzf6Sb-Y



Duration: 0:23
13 views
0


Using block.coinbase (opcode COINBASE), we can send funds to the current miner (validator) beneficiary address. Chainlink Keepers automatically checks for new blocks and sends funds when new blocks are detected.
Note 1: Keepers was not able to keep up with every block during this test.
Note 2: EIP-3675 (Merge) will remove block rewards, which inspired me to create simulated block rewards using this contract. Source: https://eips.ethereum.org/EIPS/eip-3675#block-and-ommer-rewards

Solidity Github:
https://github.com/MarcusWentz/ChainlinkKeepersAutomation/blob/main/Contracts/minerBonus.sol