A simple staking contract built in Solidity that allows users to stake ETH and earn rewards over time.
This project focuses on implementing reward calculation, staking logic, and secure withdrawal flows.
- Stake ETH
- Earn rewards based on staking duration
- Claim rewards
- Unstake funds with accumulated rewards
- Reward pool funding
- Emergency withdraw option
- Event logging for important actions
I built this contract to better understand how staking systems work in DeFi protocols.
The goal was to practice reward accounting, time-based calculations, and secure ETH transfers inside a smart contract.
- Solidity
Deployed on Sepolia testnet.
- staking mechanics
- reward calculation logic
- pool accounting
- secure fund transfers
https://sepolia.etherscan.io/address/0x023132700066fe146379c980637ccf9342041675