Search projects, hackathons, sponsors and tech

    ← All projects

    StakeMyEth

    This smart contract allws a user to stake their ETH in and get lsETH liquid staking tokens which can be used to earn yields.

    Demo

    About

    This solution addresses the liquidity issue in traditional staking by providing tradable tokens representing staked ETH. Key features include: 1. ETH staking with immediate liquidity via lsETH tokens 2. Unstaking mechanism by burning lsETH 3. Individual and total staked balance tracking The contract inherits from OpenZeppelin's ERC20 and ReentrancyGuard for standard functionality and security. Main functions are stake(), unstake(), and balance checking. Benefits include DeFi integration potential and flexible staking periods. However, the basic implementation lacks native reward distribution and governance features. Security measures involve reentrancy protection and balance checks. Future enhancements could include reward distribution, governance, and dynamic minting ratios.

    How it's made

    The contract inherits from OpenZeppelin's ERC20 and ReentrancyGuard for standard functionality and security. Main functions are stake(), unstake(), and balance checking. Benefits include DeFi integration potential and flexible staking periods. However, the basic implementation lacks native reward distribution and governance features. Security measures involve reentrancy protection and balance checks. Future enhancements could include reward distribution, governance, and dynamic minting ratios.