@depindev/whirlpools-sdk
v0.0.5
Published
Typescript SDK to interact with Depin's Whirlpool program.
Downloads
3
Maintainers
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 "@coral-xyz/anchor"
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