> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skatechain.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Solana SDK Reference

> Integrate with Skate AMM on Solana using the official SDK.

This SDK provides all the helpers for adding liquidity, swapping tokens, and burning liquidity.

***

## Installation

```bash theme={null}
npm install @skate-org/skate_amm_solana
```

***

## SDK Initialization

```typescript theme={null}
import { Connection, Keypair } from "@solana/web3.js";
import { Wallet } from "@coral-xyz/anchor";
import { SkateSDK, Environment } from "@skate-org/skate_amm_solana";

// Use the appropriate RPC URL
const connection = new Connection(process.env.RPC_URL_902!, "confirmed");

// Create wallet from keypair
const keypair = Keypair.generate(); // or load from file
const wallet = new Wallet(keypair);

// Or initialize for PRODUCTION environment
const sdkProduction = new SkateSDK(connection, Environment.PRODUCTION, wallet);
```

***

## Reference

* [SDK README ↗](https://www.npmjs.com/package/@skate-org/skate_amm_solana#installation)
* Check the README for:
  * Configure token pair
  * Address conversion
  * Important notes
  * *and more..*
