reth-tracker enables monitoring of staking rewards for an Ethereum address using Rocket Pool ETH (rETH). It tracks the conversion rate of rETH to ETH directly from the protocol, reflecting the Ether accrued through staking rather than market price fluctuations.
- Accurate tracking of staking rewards over time
- Historical record of staking returns
- Real-time conversion rate of rETH to ETH from the protocol
cargo install reth-trackerInstall SQL first.
sudo apt install sqlite-devel
Then generate the Solidity bindings for the rETH token smart contract (source: etherscan).
forge bindTo install forge, start from here
Afterwards, simply compile with cargo.
cargo buildTo run reth-tracker, use the following command-line interface:
reth-tracker --helpExample usage:
Add an Ethereum address to watch:
reth-tracker add-watch-address -a 0xYourEthereumAddressUpdate the stored staking rewards for all tracked addresses:
reth-tracker updateList all tracked addresses and their staking reward history:
reth-trackers list