> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useslip.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Install Slip, compile the unified program, and run the real Surfpool lifecycle.

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

<Steps>
  <Step title="Install workspace dependencies">
    From the Slip workspace root, run:

    ```bash theme={null}
    pnpm install
    ```
  </Step>

  <Step title="Build the Anchor program">
    Confirm that Anchor 0.32.1 is active, then build:

    ```bash theme={null}
    cd program
    anchor --version
    anchor build
    cd ..
    ```

    The generated IDL must contain two accounts and five instructions.
  </Step>

  <Step title="Regenerate the TypeScript client">
    Render the Codama client from the Anchor IDL:

    ```bash theme={null}
    pnpm run codama:js
    ```
  </Step>

  <Step title="Run the real lifecycle">
    Build and deploy the SBF into Surfpool, then exercise SPL token transfers and proof settlement:

    ```bash theme={null}
    pnpm --filter @slip/program test:surfpool
    ```

    A passing run reports three unified-market scenarios.
  </Step>

  <Step title="Verify live infrastructure when credentials are available">
    The default suite never invents AI or TxLINE responses. Run the explicit integrations with real
    credentials:

    ```bash theme={null}
    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
    ```
  </Step>

  <Step title="Run every quality gate">
    ```bash theme={null}
    pnpm test
    pnpm typecheck
    pnpm lint
    pnpm build
    ```
  </Step>
</Steps>

<Check>
  You have verified the local product when the Surfpool suite, workspace tests, typecheck, lint, and
  production build all pass.
</Check>

To configure live TxLINE access or deploy the unified binary, continue with [Configuration](/configuration)
and [Deploy the unified program](/how-to-deploy).
