Back to Smart Contracts

Staking Contract

Core staking contract that handles SOL deposits, rewards calculation, and distribution with automatic conservation funding.

$2.5M+
Total Value Locked
12%
Current APY
1,247
Active Stakers

Contract Overview

High-Yield Staking

Earn 8-12% APY on SOL deposits

Secure & Audited

Multi-signature security with timelock

Auto-Compounding

Daily reward distribution and compounding

🌊 Conservation Impact

  • • 15% of rewards fund reef restoration
  • • Transparent impact tracking
  • • Monthly conservation reports
  • • Governance voting on projects

Contract Details

7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
Solana Mainnet
v2.1.0

Key Functions

stake(amount: u64)

Deposit SOL tokens to start earning rewards. Minimum stake: 5 SOL.

// Stake 10 SOL tokens await program.methods .stake(new BN(10 * LAMPORTS_PER_SOL)) .accounts({ staker: wallet.publicKey, stakingPool: stakingPoolPda, userStakeAccount: userStakePda, }) .rpc();

claimRewards()

Claim accumulated staking rewards. Rewards are calculated daily.

// Claim pending rewards await program.methods .claimRewards() .accounts({ staker: wallet.publicKey, userStakeAccount: userStakePda, rewardVault: rewardVaultPda, }) .rpc();

unstake(amount: u64)

Withdraw staked SOL tokens. Available after 30-day lock period.

// Unstake 5 SOL tokens await program.methods .unstake(new BN(5 * LAMPORTS_PER_SOL)) .accounts({ staker: wallet.publicKey, userStakeAccount: userStakePda, stakingPool: stakingPoolPda, }) .rpc();

🔒 Security Features

Multi-Signature Security

  • • 3-of-5 multisig for admin functions
  • • 48-hour timelock for critical changes
  • • Emergency pause mechanism
  • • Automated security monitoring

Audit & Verification

  • • Audited by Trail of Bits
  • • Open source code verification
  • • Bug bounty program active
  • • Real-time monitoring dashboard