Skip to main content
You can also create a vault without code at voltr.xyz/create (see Quick Start (UI)), or in one command with the sdk-scripts CLI: pnpm cli -- --profile configs/my-vault.json --mode execute vault:init --manager <MANAGER_PUBKEY> --name "My USDC Vault" --max-cap 100000000000.
The page below shows the lower-level SDK flow, based on @solana/kit plus direct instruction builders. Use it when you embed vault creation in your own code; otherwise the CLI is the quickest path.

Setup

1. Define Vault Parameters

maxCap: 0n means zero capacity, not unlimited capacity. For an uncapped vault, use the full u64 max value.
Keep the description within the on-chain limit. Oversized metadata will cause the transaction to fail.

2. Load Signers And Derive Vault Accounts

3. Build The Initialize Instruction

4. Send The Transaction

Send the returned instruction with your standard @solana/kit transaction flow. The admin signs as payer and the generated vault keypair signs as the new account. Save the resulting vault address. You will use it for:
  1. LP metadata
  2. Strategy setup
  3. Allocation
For the full account schema and helper exports, see SDK Reference.