Skip to main content
This quickstart verifies the local implementation. It does not require or claim a public devnet upgrade.

Prerequisites

  • Node.js 22 or later
  • pnpm 10.33
  • Anchor CLI 0.32.1
  • Rust and Solana platform tools compatible with the checked-in lockfiles
1

Install workspace dependencies

From the Slip workspace root, run:
pnpm install
2

Build the Anchor program

Confirm that Anchor 0.32.1 is active, then build:
cd program
anchor --version
anchor build
cd ..
The generated IDL must contain two accounts and five instructions.
3

Regenerate the TypeScript client

Render the Codama client from the Anchor IDL:
pnpm run codama:js
4

Run the real lifecycle

Build and deploy the SBF into Surfpool, then exercise SPL token transfers and proof settlement:
pnpm --filter @slip/program test:surfpool
A passing run reports three unified-market scenarios.
5

Verify live infrastructure when credentials are available

The default suite never invents AI or TxLINE responses. Run the explicit integrations with real credentials:
SLIP_RULE_PROVIDER=ollama SLIP_RULE_MODEL=... OLLAMA_BASE_URL=http://MBP_LAN_IP:11434/api pnpm --filter @slip/sdk test:ai:ollama
SLIP_RULE_PROVIDER=gateway AI_GATEWAY_API_KEY=... SLIP_RULE_MODEL=... pnpm --filter @slip/sdk test:ai
TXLINE_DEVNET_ORIGIN=... TXLINE_API_TOKEN=... pnpm --filter @slip/sdk test:txline
6

Run every quality gate

pnpm test
pnpm typecheck
pnpm lint
pnpm build
You have verified the local product when the Surfpool suite, workspace tests, typecheck, lint, and production build all pass.
To configure live TxLINE access or deploy the unified binary, continue with Configuration and Deploy the unified program.