Skip to main content
This guide shows how to install and initialize the official Alpha Vault TypeScript SDK, @meteora-ag/alpha-vault. Before you begin, here are the main resources:

TypeScript SDK

SDK source, IDL, transaction helpers, PDA helpers, Merkle tree helpers, and package metadata.

NPM Package

Published package for Alpha Vault TypeScript integrations.

Installation

Install the SDK and Solana dependencies:

Initialization

Load an existing Alpha Vault from its vault address:
The package default export is the AlphaVault client class. Named exports include enums, types, PDA helpers, Merkle tree helpers, fill helpers, constants, and the IDL.

Program ID

The SDK maps clusters to these Alpha Vault program IDs:

First Reads

Use these methods and getters before building transactions:

Reference

SDK Examples

Explore transaction flows for deposits, claims, fills, Merkle proofs, and authority-created escrows.

SDK Reference

Access the SDK method map, PDA helpers, constants, enums, and exported types.

Testing The SDK

The local SDK package uses tsup for builds and Jest for tests.
Some tests require local validator fixtures and launch-pool artifacts. For application integrations, simulate transactions and test the exact vault and pool configuration before mainnet use.

Faucets

Devnet Faucet

Request test SOL for devnet integration testing.