Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions rust-sdk/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
This package provides developers with low-level functionalities for interacting with the Whirlpool Program on Solana. It serves as a foundational tool that allows developers to manage and integrate detailed operations into their Rust projects, particularly those related to Orca's Whirlpool Program. This package offers granular control for advanced use cases.

## Compatibiltiy
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'Compatibiltiy' to 'Compatibility'.

Suggested change
## Compatibiltiy
## Compatibility

Copilot uses AI. Check for mistakes.
- Compatible with `anchor` versions `^0.26` but `<0.30`. If you enable the `anchor` feature of `orca_whirlpools_client` in `cargo.toml` while using a version of anchor that's `^0.30` in your project, you may need to apply a lockfile patch to switch to a lower version:
- Compatible with `anchor` versions `^0.31`. If you enable the `anchor` feature of `orca_whirlpools_client` in `cargo.toml` while using a version of anchor that's `<0.31` in your project, you may need to apply a lockfile patch to switch to a higher version:
```bash
cargo update anchor:<current-version> --precise 0.29
cargo update anchor:<current-version> --precise 0.31
```
- Compatible with `solana-program` versions `^1.18.0` but `<3.0.0`. By default, Cargo will install the latest version of Solana SDK `^v2`. This can cause dependcy issues when using older versions. To solve this you can apply a lockfile patch with the following command:
- Compatible with `solana-program` versions `^2.0.0`. By default, Cargo will install the latest version of Solana SDK `^v2`. This can cause dependcy issues when using older versions. To solve this you can apply a lockfile patch with the following command:
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'dependcy' to 'dependency'.

Suggested change
- Compatible with `solana-program` versions `^2.0.0`. By default, Cargo will install the latest version of Solana SDK `^v2`. This can cause dependcy issues when using older versions. To solve this you can apply a lockfile patch with the following command:
- Compatible with `solana-program` versions `^2.0.0`. By default, Cargo will install the latest version of Solana SDK `^v2`. This can cause dependency issues when using older versions. To solve this you can apply a lockfile patch with the following command:

Copilot uses AI. Check for mistakes.
```bash
cargo update solana-program:<current-version> --precise <required-version>
```
Expand Down Expand Up @@ -97,4 +97,4 @@ fn main() {

println!("{:?}", initialize_pool_v2_instruction);
}
```
```