Whirpools is an open-source concentrated liquidity AMM contract on the Solana blockchain.
The Whirlpools Typescript SDK (@orca-so/whirlpools-sdk
) allows for easy interaction with a deployed Whirlpools program.
The contract has been audited by Kudelski and Neodyme.
Use the SDK to interact with a deployed Whirlpools program via Typescript.
In your package, run:
yarn add `@orca-so/whirlpools-sdk`
yarn add "@coral-xyz/anchor"
yarn add "decimal.js"
Read instructions on how to use the SDK on the Orca Developer Portal.
To run tests for the SDK, setup your anchor environment and run:
anchor test