Skip to content

Latest commit

 

History

History
72 lines (62 loc) · 1.66 KB

README.md

File metadata and controls

72 lines (62 loc) · 1.66 KB

whirlpool-cpi crate

Usage

💡 Whirlpool program uses Anchor 0.29.0 and Solana 1.17.22, so using Anchor 0.29 and Solana 1.17 is best & free from any trouble if possible.

with Anchor 0.30.1

Cargo.toml

[dependencies]
anchor-lang = "=0.30.1"
anchor-spl = "=0.30.1"
whirlpool-cpi = { git = "https://github.com/orca-so/whirlpool-cpi", branch = "anchor/0.30.1" }

with Anchor 0.29.0

Cargo.toml

[dependencies]
anchor-lang = "=0.29.0"
anchor-spl = "=0.29.0"
whirlpool-cpi = { git = "https://github.com/orca-so/whirlpool-cpi", branch = "anchor/0.29.0" }

with Anchor 0.28.0

Cargo.toml

[dependencies]
anchor-lang = "=0.28.0"
anchor-spl = "=0.28.0"
whirlpool-cpi = { git = "https://github.com/orca-so/whirlpool-cpi", branch = "anchor/0.28.0" }

with Anchor 0.27.0

Cargo.toml

[dependencies]
anchor-lang = "=0.27.0"
anchor-spl = "=0.27.0"
whirlpool-cpi = { git = "https://github.com/orca-so/whirlpool-cpi", branch = "anchor/0.27.0" }

with Anchor 0.26.0

Cargo.toml

[dependencies]
anchor-lang = "=0.26.0"
anchor-spl = "=0.26.0"
whirlpool-cpi = { git = "https://github.com/orca-so/whirlpool-cpi", branch = "anchor/0.26.0" }

with Anchor 0.25.0

Cargo.toml

[dependencies]
anchor-lang = "=0.25.0"
anchor-spl = "=0.25.0"
whirlpool-cpi = { git = "https://github.com/orca-so/whirlpool-cpi", branch = "anchor/0.25.0" }

with Anchor 0.24.2

Cargo.toml

[dependencies]
anchor-lang = "=0.24.2"
anchor-spl = "=0.24.2"
whirlpool-cpi = { git = "https://github.com/orca-so/whirlpool-cpi", branch = "anchor/0.24.2" }

Examples

You can find concrete examples in the following repository:

https://github.com/orca-so/whirlpool-cpi-sample