A decentralized liquid staking protocol built with Arbitrum Stylus and Rust, allowing users to stake ETH and receive liquid stETH tokens that accrue value over time.
- 🔄 Liquid Staking: Stake ETH and receive tradeable stETH tokens
- 📈 Auto-Compounding: Rewards automatically increase stETH value
- ⏱️ Withdrawal Delays: 7-day security delay for withdrawals
- 🛡️ Security: Built with Rust's memory safety and formal verification
- ⚡ Low Gas: 50%+ gas savings compared to Solidity contracts
- 🎯 ERC20 Compatible: stETH works with all DeFi protocols
# Clone the repository
git clone https://github.com/yourusername/liquid-staking-stylus.git
cd liquid-staking-stylus
# Install Cargo Stylus
cargo install --force cargo-stylus
# Install dependencies
cargo build# Set your private key
export PRIVATE_KEY="your_private_key_here"
# Deploy the contract
cargo stylus deploy \
--private-key-path=.secret \
--endpoint="https://sepolia-rollup.arbitrum.io/rpc"