What Is Stake2Earn
Product overview for Stake2Earn staking, LP fee delegation, and top staker rewards.
Configuration And Limits
Product-level settings and launch constraints for Stake2Earn vaults.
Stake2Earn Formulas
Product formulas for staking, fees, and reward distribution.
Integration
Program Accounts
PDA seeds, vault state, stake escrow state, unstake requests, and top/full balance list layouts.
Program Instructions
Vault creation, staking, claiming, unstaking, withdrawal, crank, and admin instruction details.
Program Events
Event CPI emissions for vault lifecycle, staking, fee release, top list movement, and admin updates.
Program Errors
Anchor custom error codes, enum names, messages, and common integration causes.
TypeScript SDK
Transaction builders, state readers, PDA helpers, and examples from
@meteora-ag/m3m3.Rust Integration
Generated Rust instruction/account interface, PDA helpers, and CPI guidance.
Stake2Earn API
Indexed read-only vault discovery, analytics, filter routes, and leaderboard responses.
Changelog
Program, SDK, API, and source-noted release changes that affect integrations.
Program IDs
The publicstake_for_fee program ID is the same on mainnet and devnet:
Related program IDs used by the SDK:
Stake2Earn Program
Anchor program source for
stake_for_fee.Stake2Earn IDL
TypeScript IDL bundled by the public SDK.
TypeScript SDK
@meteora-ag/m3m3 SDK source for transaction builders and state helpers.Rust Interface
Generated Rust instruction, account, event, and error interface.

