These flows use many instructions. If you hit compute limits, add
ComputeBudgetProgram.setComputeUnitLimit({ units: 1_000_000 }) (or higher) as the first instruction in your transaction.Supported Pools
Discover vaults at runtime with
client.vault.getAllVaults() and match supplyToken to the pool mint. Pool tokens are priced through the SinglePool source of the Oracle program.
Single Pool Program
- Program ID:
SVSPxpvHdN29nkVg9rPapPNDddN5DipNLRUFhyjFThE - SDK:
@solana/spl-single-pool-classic
Guides
Deposit
Split stake, deposit into Single Pool, then deposit pool tokens into a vault.
Withdraw
Withdraw pool tokens from vault, then burn them to receive stake back.
