Environment Setup

Github

Typescript

Install Dependencies

yarn add "@orca-so/whirlpools-sdk"
yarn add "@coral-xyz/anchor"
yarn add "decimal.js"

If you have previously installed the V0 SDK@orca-so/whirlpool-sdk package, please remove it here as the API are not compatible.

Rust

Install Dependencies

  1. Setup Anchor development environment

  2. Setup Solana keypair at the same path as the one declared in Anchor.toml

Last updated