A staking and rewards distribution smart contract for Soroban on Stellar.
- Flexible Staking: Stake any Soroban token
- Configurable Rewards: Adjustable reward rates and distribution schedules
- Lock Periods: Optional stake locking with early withdrawal penalties
- Auto-compounding: Automatic reward reinvestment
- Multi-pool: Support for multiple staking pools with different parameters
┌──────────┐ ┌──────────────┐ ┌──────────┐
│ Stakers │────▶│ Staking │────▶│ Rewards │
│ │◀────│ Contract │◀────│ Pool │
└──────────┘ └──────────────┘ └──────────┘
soroban contract build
cargo testMIT