Snapshot
- Captured
- 10 September 2026 at 12:16 UTC
- Content hash (SHA-256)
ac0a9c2f73fc28f773b8e4d7ca0aff8b7f093cce58fe5caff767ae91a2a4b98b
This is the readable text of the page as it was captured. The full web archive (WARC) of the request and response is retained and can be produced on request.
Developer Overview - Orca Documentation
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Skip to main content
Orca Documentation home page English
Search...
⌘ K Ask Assistant ⌘ I
App
Feedback
Support
Search...
Navigation
Getting Started
Developer Overview
Home
Liquidity
Trade
Vaults
Create
Developers
API Reference
Governance
Support
GitHub
Support
Getting Started
Developer Overview
Architecture
Account Architecture
Price & Ticks
Understanding Tick Arrays
Tokenized Positions
Understanding Whirlpool Fees
Orca Whirlpool Parameters
TokenExtensions
SDKs
Overview of Orca's SDKs
Environment Setup
Sending and Landing Transactions
Executing a Token Swap
Orca Utility Helpers
Position Management
Pool Management
Legacy SDK
Examples
Cross-Program Invocation with Orca Whirlpools
Tour de Whirlpool
Resources
A Note for Python Devs
A Note for Unity/C# Devs
Account microscope
Errors
IDL
PubkeySollet
Whirlpool Replayer
Integrations
Reference
Glossary
On this page
Build on Orca
Quick Start
Resources
Support
Getting Started
Developer Overview
Copy page Copy page
Build on Orca’s Whirlpools, the most capital-efficient liquidity layer on Solana.
Copy page Copy page
Build on Orca
Orca’s Whirlpool Program is an open-source concentrated liquidity automated market maker (CLMM) powering efficient DeFi operations on Solana. Integrate swaps, manage liquidity positions, build custom trading applications, or power autonomous agents and LP management bots with our comprehensive SDK suite.
SDKs
High-level TypeScript and Rust SDKs for swaps, positions, and pool management
Architecture
Understand Whirlpool accounts, ticks, and fee structures
Examples
Code samples and integration patterns
API Reference
REST API for pool data and analytics
AI Agents & Bots
Build autonomous LP managers and trading agents on Whirlpools
Quick Start
Install the high-level TypeScript SDK:
npm install @orca-so/whirlpools @solana/kit
Execute a simple swap:
import { createSolanaRpc , address } from "@solana/kit" ;
import { swapInstructions , WhirlpoolDeployment } from "@orca-so/whirlpools" ;
import secret from "wallet.json" ;
const rpc = createSolanaRpc ( "https://api.mainnet-beta.solana.com" );
const poolAddress = address ( "YOUR_POOL_ADDRESS" ); // Whirlpool account address
const inputAmount = 1_000_000 n ; // 1 USDC (6 decimals)
const signer = await setPayerFromBytes ( new Uint8Array ( secret ));
setDefaultFunder ( signer . address );
const { instructions , quote } = await swapInstructions (
rpc ,
{ inputAmount , mint: address ( "YOUR_TOKEN_MINT" ) }, // mint of the token you are swapping in
poolAddress ,
{
slippageToleranceBps: 100 , // 1% slippage tolerance (in basis points)
whirlpoolDeployment: WhirlpoolDeployment . mainnet ,
},
);
The addresses above are placeholders. For complete, runnable examples using real devnet addresses, see Executing a Token Swap .
Resources
GitHub
Source code & audits
npm Packages
TypeScript SDKs
Rust Crates
Rust SDKs
Support
Need help with your integration?
In-App Support : Use the Support function in the wallet menu
Community : Discord or Telegram
GitHub Issues : Report bugs or request features
API Docs : api.orca.so/docs for REST endpoints
Was this page helpful?
Yes No
Account Architecture
Orca Documentation home page discord x github youtube
Orca
Launch App Terms of Service
Resources
Developer Docs Brand Assets Docs Feedback
discord x github youtube
Powered by This documentation is built and hosted on Mintlify, a developer documentation platform
Assistant
Responses are generated using AI and may contain mistakes.