sanctum

Integrate Sanctum SDK for liquid staking, LST swaps, and Infinity pool operations on Solana.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/Kaleb-Rupe/aurora --skill sanctum-kaleb-rupe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sanctum
Source: https://github.com/Kaleb-Rupe/aurora/tree/main/system/aurora-bridge/.claude/skills/sanctum
Command: npx skills add https://github.com/Kaleb-Rupe/aurora --skill sanctum-kaleb-rupe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building Solana applications that interact with liquid staking tokens requires navigating Sanctum's API endpoints, program IDs, LST mint addresses, and transaction signing flows, which is error-prone without a complete reference. ## Core Features & Use Cases - LST Swaps: Generate quotes and execute swaps between SOL, mSOL, jitoSOL, bSOL, INF, and 1,361+ other LSTs via the Sanctum API with ExactIn or ExactOut modes. - Staking & Unstaking: Stake SOL for any LST, perform instant unstakes via Infinity or Reserve, or use delayed unstaking to stake accounts for lower fees. - Infinity Pool Liquidity: Add or remove liquidity by swapping to and from INF, track INF/SOL exchange rates, APY history, and pool composition. - Use Case: A developer building a Solana portfolio app uses this Skill to fetch LST metadata and APYs, quote a SOL-to-jitoSOL swap, sign the returned transaction, and execute it through the Sanctum API. ## Quick Start Use the sanctum skill to swap 1 SOL for mSOL using the Sanctum API with my wallet keypair.

Frequently Asked Questions about sanctum

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I swap liquid staking tokens on Solana with Sanctum?

Request a quote from the /swap/token/order endpoint with input mint, output mint, amount, mode, and signer, then sign the returned base64 transaction and POST it to /swap/token/execute. The API routes through Infinity, Router, or Reserve automatically.

How to stake SOL for mSOL or jitoSOL programmatically?

Call the swap endpoint with wrapped SOL as input and the target LST mint as output, then sign and execute the transaction. Staking SOL to an LST uses the same swap flow with 0 bps fees on StakeWrappedSol routes.

What is the difference between instant and delayed unstaking on Sanctum?

Instant unstaking swaps the LST back to SOL immediately through Infinity or Reserve for 1-10 bps in fees. Delayed unstaking withdraws to a stake account with zero fees but requires waiting one to two epochs for deactivation.

Does the Sanctum API require an API key?

Yes, every Sanctum API endpoint requires an apiKey query parameter, and requests without one return a 401 Unauthenticated error. Rate limits apply, so implement exponential backoff on 429 responses and cache LST metadata.

Why does my Sanctum swap transaction fail with slippage exceeded?

Prices moved between quote generation and execution, so refresh the quote if it is older than about 30 seconds and increase slippageBps for large or illiquid swaps. Typical values are 10 bps for stable pairs and 50-100 bps for volatile routes.

Can I use Jupiter instead of the Sanctum API for LST swaps?

Yes, Jupiter aggregates Sanctum Router routes automatically when they offer the best price. Load the Jupiter SDK with your connection and wallet, compute routes between LST mints, and execute the top route.