-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Overview of Orca Whirlpools SDK Suite #471
Conversation
docs/whirlpool/docs/01-Welcome.mdx
Outdated
- Query the state of pools to retrieve information about asset prices, liquidity, and fees. | ||
#### 1. High-Level SDK | ||
- **TypeScript**: [@orca-so/whirlpools](https://www.npmjs.com/package/@orca-so/whirlpools) (Requires Solana Web3.js SDK ≥v2.0) | ||
- **Rust**: orca_whirlpools (in development) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will most likely only work with a single solana version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Succesfully tried creating an rpc
and call fetchAllWhirlpoolWithFilter
with v2.0.0-rc.1, v2.0.0-rc-3, v2.0.0-rc.4. Does that still count as a single Solana version, namely 2.0.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant the rust sdk. Will only work with solana-(program|client|sdk)
v1.18
docs/whirlpool/docs/01-Welcome.mdx
Outdated
|
||
#### 3. Low-Level SDK | ||
- **TypeScript**: [@orca-so/whirlpools-client](https://www.npmjs.com/package/@orca-so/whirlpools-client) (Requires Solana Web3.js SDK ≥v2.0) | ||
- **Rust**: [orca_whirlpools_client](https://crates.io/crates/orca_whirlpools_client) (Requires Solana SDK v1.18) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Planning to have this work with a range of solana/anchor versions #472
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I will update to Requires Solana SDK <v2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 🚀
Title
Add Overview of Orca Whirlpools SDK Suite
Details