Skip to main content

Quickstart

This page is the fastest path to understand and validate the repository.

Prerequisites

  • Node.js 18+
  • pnpm
  • Rust toolchain
  • Solana CLI
  • Anchor CLI for program deployment and local program work

Install dependencies

Start with offline validation

Run the complete offline suite first:
Useful local demos:

Create your environment file

Then fill the values in Operations / Environment.

Validate runtime configuration

Before any live test, run:
This checks:
  • RPC URLs
  • local signer loading
  • protocol owner/signer alignment
  • derived vault PDA
  • on-chain visibility of the configured program and vault
If your goal is to bring the whole vault up on Solana devnet first, follow:

1. Protocol build-only checks

Validate that the protocol adapters can build real bundles:

2. Direct protocol transaction

Validate Drift without depending on the vault:

3. Vault bootstrap

Once the program is deployed and wallets are funded:

4. Full rebalance path

After the vault exists on-chain:

What not to do first

Do not start with a mainnet bootstrap unless these are already true:
  • the program ID points to a real executable program
  • the operator wallets have SOL
  • VAULT_SHARE_MINT_KEYPAIR_PATH and VAULT_TREASURY_KEYPAIR_PATH are set
  • the protocol owner addresses match local signers

Next pages