Published in


The Whirlpools smart contract is now open-source!

Following a successful dual-audit and $1 billion in volume, all core Whirlpools code is now open-source!

Whirlpools have been steadily swirling since they opened in our ecosystem in March. Unlocking better prices for traders and greater capital efficiency for LPs, these concentrated liquidity pools have already facilitated over $1 billion in trading volume on Orca! 🐋

Whirlpools is an open-sourced concentrated liquidity automated market maker (CLAMM) program built for the Solana ecosystem. This custom contract is specifically designed for the Solana virtual machine and emphasizes security and efficiency.

Our talented engineering team has worked diligently on creating the most efficient and elegant solution to deliver concentrated liquidity pools on Orca. Now it’s time to share Whirlpools with the entire Solana ecosystem and help other protocols leverage the efficiency of concentrated liquidity. ☀️

We’re excited to announce that all core Whirlpools code is now open-source!

Whirlpools have been dual-audited by both Neodyme and Kudelski Security and the audit reports are available on our new Orca Developer Portal. In addition, an Orca DAO governance proposal has passed in favor of a bug bounty program to truly battle test this contract. This bug bounty program will go live on Wednesday in collaboration with ImmuneFi!

Ready to build? The blueprints are here 👇

Here’s everything you need to get started:

Whirlpools are Orca’s core product and a first in many respects for concentrated liquidity on Solana — one of the most requested improvements is first class support for liquidity mining, including automatic accrual of rewards (no staking of LP tokens required!). We’ll also be focusing heavily on developer education, including simple documentation and tutorials to help builders integrate or use Whirlpools.

Below are a few ideas of what to expect. And builders: Tell us what you’d like to see!

  • How to debug smart-contract errors on Whirlpools
  • How to make a swap and create a position with Orca’s Typescript SDK
  • How to make a swap and create a position with Rust CPI calls

We’ll also be shipping some technical changes to further improve the usability of the Whirlpools SDK in the coming weeks, including…

  • APR calculations
  • Additional quote types and tests on the swap instruction to ease the developer experience
  • Improved tick-array handling for quoting swap instructions
  • Liquidity distribution calculation

There are already several ecosystem projects choosing to leverage Orca’s infrastructure, including Parcl (for concentrated liquidity) and Jupiter (for swaps). If you’re a builder and want to get in touch with the Orca team, dive on into the #integrate-with-orca channel on our Discord! 🐬

Lastly, if you’re a builder participating in one of the upcoming Solana Hacker Houses, keep an eye out for details on the Whirlpools Builders Program. 👀

Disclaimer: The content of this communication is not financial advice and should not be relied on by any persons as financial advice. This communication has not been provided in consideration of any recipient’s financial needs. We have not conducted any financial assessment based on the personal circumstances of any recipients. Before using the protocol, carefully review all relevant documentation and consider risks including total loss of funds.




Orca is the easiest, fastest, and most user-friendly AMM and aggregator on Solana. As a team with deep knowledge of both crypto and human-centered design, we’re on a mission to create the best experiences in DeFi.

Recommended from Medium

CommunityBridge-Codeuino mentorship: Learning everything(Week 2)

How To Write a Programming Book

(C++) Math Practice

Web Development with Django 2.0

TrueChain Monthly Report of March 2022

Plug Talk — 10/7

A Different Kind of Daily Scrum

Recommended usage for mutual learning application “Interchao”

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


The official account of Orca: The most user-friendly DEX on Solana 🐳 https://orca.so

More from Medium

Whirlpools Rotation #2: May 5th — 19th

ZAApps: A Fully Functional One-Stop App Store for DeFi Projects on Solana

April In Review

Anchor and Solana