Parfournir.
Skills/Orca/Orca Whirlpools

Orca Whirlpools

Solana concentrated liquidity DEX — Orca Whirlpools SDK for token swaps, liquidity provision, and yield farming on Solana.

NOASSERTIONsdk
by @Orca
Install
npm install @orca-so/whirlpools-sdk
SKILL.md

Whirlpools

Whirlpools is an open-source concentrated liquidity AMM contract on the Solana blockchain.
This repository contains the Rust smart contract and SDKs to interact with a deployed program.

The official deployment of the whirlpool contract can be found at the whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc address on:

  • Solana Mainnet
  • Solana Devnet
  • The contract is deployed using verifiable build, so that you can ensure that the hash of the on-chain program matches the hash of the program in this codebase.

  • Solana Verify CLI
  • Verification result on Osec API
  • The program has been audited several times by different security firms.
    * Jan 28th, 2022 - Kudelski Security
    * May 5th, 2022 - Neodyme
    * Aug 21st, 2024 - OtterSec
    * Feb 28th, 2025 - Sec3
    * Jun 23rd, 2025 - Sec3
    * Aug 22nd, 2025 - Sec3

    Usage

    This repository contains several libraries that can be used to interact with the Whirlpools contract. For most purposes you can use our high-level SDKs, @orca-so/whirlpools for Typescript projects, and orca_whirlpools for Rust projects.

    For specific use-cases you can opt for integrating with lower level packages such as:
    * @orca-so/whirlpools-client & orca_whirlpools_client - auto-generated client for the Whirlpools program that contains account, instruction and error parsing.
    * @orca-so/whirlpools-core & orca_whirlpools_core - utility, math and quoting functions used by other packages.

    The legacy Typescript SDK (@orca-so/whirlpools-sdk) remains a solid choice, and it’s currently the only option if your project uses Solana Web3.js.

    For a more detailed overview of our SDK suite and usage examples, visit our developer documentation site.

    Local Development

    This monorepo contains all the code needed to build, deploy and interact with the Whirlpools contract.

    Requirements

  • Anchor v0.32.1
  • Solana v2.1.0
  • Getting Started

    Automated Setup Script

    For a complete development environment setup, use the provided setup script:

    chmod +x scripts/setup.sh
    ./scripts/setup.sh

    This script installs all required dependencies and builds the project. It's designed for fresh environments (cloud VMs, containers, new machines) and doesn't check for existing versions. The script also serves as a reference for understanding which dependencies are needed at each stage.

    Manual Setup

    If you prefer manual installation or already have some dependencies:

    * Install system dependencies (build tools, Node.js, Rust, Solana CLI, Anchor)
    *

    ... [truncated — view full README on GitHub]

    Details

    Categoryblockchain
    Typesdk
    Sourcegithub
    LicenseNOASSERTION

    Use this skill

    Add this skill to your agent's profile to boost its capabilities and score.

    Add to My Agent