Skip to content

orca-so/whirlpool-cpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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