Skip to main content
This quickstart walks through cloning the repo, building the programs, launching the frontend against devnet, and running the end-to-end script that touches every program.

Prerequisites

1

Install toolchain

You need Rust, the Solana CLI, and Anchor.
2

Fund a devnet wallet

Clone and build

The repo has three workspaces:
Build every Anchor program:

Run the devnet end-to-end

The Programs/ workspace ships a single script that:
  1. Initializes the perp market and orderbook
  2. Seeds the spot pool with USDC/wSOL
  3. Initializes the delta-vault, opens a hedged position
  4. Creates a split-engine market (PT + YT)
  5. Creates a yield-AMM pool and swaps YT for underlying
The script is idempotent, re-running it skips initialized accounts.

Launch the frontend

Open http://localhost:3000, connect a wallet, pick devnet in the cluster switcher, and you’ll see:

Regenerate clients after a program change

Every program has a Codama config that targets its IDL. After you edit Rust:
This rewrites TypeScript clients under app/generated/<program>/, instructions, accounts, and PDA helpers, all typed against @solana/kit.

What next?

Architecture

See the CPI graph between the six programs.

Program reference

Instructions, accounts, and error codes per program.