โšก Staking & Compound Engine SOROBAN

Auto-compound your staking rewards on Stellar Soroban smart contracts
Total Value Locked
$2,847,392
Active Stakers
1,284
Rewards Distributed
$184,520
Avg Compound APY
12.8%
Your Total Staked
$0.00
๐Ÿฆ Stake
๐Ÿ”„ Compound
๐Ÿ“Š Calculator
๐Ÿ’ผ My Positions
๐Ÿ“œ History
๐Ÿงช Tests
๐ŸŠ Select Staking Pool
๐Ÿ“ฅ Stake Tokens
Your sponsor earns Gen 1 commission. Leave empty if no one invited you — you'll choose Main Wallet or Option Wallet as your auto-sponsor. Same stage flow applies to both.
Estimated Annual Return
$0.00
Effective APY
0.00%
Base APY
0.00%
Lock Boost
+0.00%
Compound Gain
+0.00%
Daily Reward
$0.00
๐Ÿ”„ Compound Strategy

Choose how your staking rewards are automatically reinvested. Higher frequency = more compound interest.

โšก Daily Auto-Compound
Rewards harvested and restaked every 24h via Soroban cron invocation
+2.4% APY
๐Ÿš€ 12-Hour Turbo Compound
Twice-daily compounding for maximum yield โ€” higher gas cost
+3.1% APY
๐Ÿ“… Weekly Compound
Rewards compounded every 7 days โ€” lower gas overhead
+1.2% APY
๐Ÿ“† Monthly Compound
Monthly restake โ€” minimal gas, lower compound benefit
+0.5% APY
๐Ÿ– Manual Claim
Claim rewards manually and decide where to reinvest
+0%
โ›ฝ Gas Cost Analysis
FREQUENCY GAS / CYCLE MONTHLY GAS NET BENEFIT
12-Hour 0.008 XLM 0.480 XLM +3.1% APY
Daily 0.008 XLM 0.240 XLM +2.4% APY
Weekly 0.008 XLM 0.032 XLM +1.2% APY
Monthly 0.008 XLM 0.008 XLM +0.5% APY

* Gas costs are estimates based on current Soroban resource pricing. Auto-compound is executed by the contract's keeper bot.

๐Ÿ“Š Compound Interest Calculator
๐Ÿ“ˆ Growth Projection
Principal + Deposits
Compound Interest
โš”๏ธ Simple vs Compound Comparison
๐Ÿ’ผ Active Staking Positions
No active stakes yet. Go to the Stake tab to begin.
โš™๏ธ Quick Actions
๐Ÿงช Staking Test Suite โ€” 15 Tests
📊 Staking Calculation Tests
Test 1: APY Calculation
base 8.5% + lock 3.5% + compound 2.4% = 14.4%
Test 2: Lock Boost Mapping
0d=0% | 30d=1.5% | 90d=3.5% | 180d=6% | 365d=10%
Test 3: Compound Boost Mapping
none=0% | daily=2.4% | weekly=1.2% | monthly=0.5%
Test 4: Daily Reward Calculation
1000 XLM @ 14.4% APY → ~$0.3945/day
Test 5: 8-Gen Referral Rates
Gen1=10% + Gen2-8=6%+4%*6 = 40% total referral
🔬 Integration & Security Tests
🚀 Full stakeTokens() Flow
Stake 100 XLM: deduct balance, create stake entry, verify APY
pending
🔄 cw_balances Sync
localStorage balance reduced after staking
pending
⛔ Zero Amount Rejected
Staking 0 XLM must be blocked
pending
⛔ Negative Amount Rejected
Staking -500 must be blocked
pending
🛡️ Overdraft Guard
Stake 999999 XLM with insufficient balance
pending
🔒 Period Lock Enforcement
Cannot unstake before lock period expires
pending
💰 Claim Reward Credits Wallet
claimReward() adds to cw_balances
pending
🔄 Compound Adds to Principal
compoundStake() increases stake amount
pending
🏦 No Sponsor → Wallet Choice
Empty sponsor โ†’ choose Main Wallet or Option Wallet
pending
📝 Stake Record Integrity
soroban_stakes entry has all required fields
pending
๐Ÿ“œ Reward & Compound History
No history yet. Rewards will appear here as they are earned.