Presale Vault is Meteora’s presale program on Solana. It lets creators run a token presale where buyers deposit a quote token and later claim allocated base tokens after the presale completes. For concepts such as vault modes, configuration, Token 2022 support, access states, and formulas, you can read the following documentations.Documentation Index
Fetch the complete documentation index at: https://docs.meteora.ag/llms.txt
Use this file to discover all available pages before exploring further.
Learn more about Presale Vault
Overview of Presale Vault modes, access controls, lifecycle states, and token support.
Presale Vault Formulas
Formulas and definitions for allocation, caps, refunds, fees, and vesting behavior.
Integration
Program Accounts
Account model for presales, registries, escrows, Merkle roots, operators, fixed-price params, and permissioned metadata.
Program Instructions
Instruction families for initialization, escrow creation, deposits, withdrawals, claims, creator actions, and metadata.
Program Events
Event payloads emitted by presale creation, escrow actions, deposits, claims, refunds, and creator actions.
Program Errors
Anchor custom error codes, enum names, messages, and common integration causes.
TypeScript SDK
TypeScript SDK for creating presales, escrows, deposits, claims, refunds, metadata, and state readers.
Rust Integration
Rust integration notes for the CPI feature, generated clients, and tests.
Program IDs
Thepresale program ID is the same on mainnet and devnet:
| Network | Program ID |
|---|---|
| Mainnet Beta | presSVxnf9UU8jMxhgSMqaRwNiT36qeBdNeTRKjTdbj |
| Devnet | presSVxnf9UU8jMxhgSMqaRwNiT36qeBdNeTRKjTdbj |
| Authority | Address |
|---|---|
| Presale Authority | 4Xgt6XKZiowAGNdPWngVAwpYbSwAmbBnRBPtCFXhrypc |
Presale Vault Program
Public Anchor program source for Presale Vault.
Presale Vault IDL
Published Anchor IDL used by generated clients and the TypeScript SDK.
TypeScript SDK
Public SDK for transactions, PDA derivation, account wrappers, math helpers, and examples.
The program does not deploy liquidity with raised capital. Creators withdraw completed presale funds and handle downstream liquidity deployment themselves.
Commands
| Task | Command |
|---|---|
| Install TypeScript SDK dependencies | cd presale-sdk && pnpm install |
| Build TypeScript SDK | cd presale-sdk && pnpm run build |
| Run TypeScript SDK tests | cd presale-sdk && pnpm test |
Build presale program | cd presale && anchor build |
| Run Rust program tests | cd presale && cargo test -p presale -- --nocapture |
Stay Updated
Presale Vault Changelog
Program and SDK changes for integration planning.

