@defituna/whirlpools-sdk
v0.13.3-custom.1
Published
Typescript SDK to interact with Orca's Whirlpool program.
Downloads
210
Readme
Whirlpools
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.
Whirlpool SDK
Use the SDK to interact with a deployed Whirlpools program via Typescript.
Installation
In your package, run:
yarn add "@orca-so/whirlpools-sdk"
yarn add "@orca-so/common-sdk"
yarn add "@coral-xyz/[email protected]"
yarn add "@solana/web3.js"
yarn add "@solana/spl-token"
yarn add "decimal.js"
Usage
Read instructions on how to use the SDK on the Orca Developer Portal.
Tests
To run tests for the SDK, setup your anchor environment and run:
anchor test