16bca0ea1f
* Adding getPools method in SDK client * Adding fetching of token vault infos to whirlpool retrieval * Adding retrieval of reward infos * Adding comment about empty pubkey constant * Updating comments * Using PoolUtil to check for initialized rewards * Updating getRewardInfos comment |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
README.md | ||
jest.config.js | ||
package-lock.json | ||
package.json | ||
tsconfig-base.json | ||
yarn-error.log | ||
yarn.lock |
README.md
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 "@project-serum/anchor"
yarn add "decimal.js"
Usage
Read instructions on how to use the SDK on the Orca Developer Portal.