• zk-verified ✓atlas treasury
  • 11.84%kamino · usdc
  • 18.20%drift · ksol
  • 9.40%marginfi · usdc
  • 14.10%jupiter · jlp
  • 7.80%kamino · jitosol
  • 8.92%drift · usdc
  • 22.40%orca · sol-usdc
  • 24.10%raydium · sol-usdc
  • 6.20%marginfi · sol
  • 12.30%kamino · pyusd
  • 19.80%jupiter · jlp-perp
  • 5.40%meteora · usdc-usdt
AtlasAtlas/docs
Open App

Quickstart

Five minutes from install to a verified Atlas call.

Install

pnpm add @atlas/sdk
# optional helpers
pnpm add @atlas/widgets @atlas/qvac

Read your first vault

import { AtlasPlatform } from "@atlas/sdk";
const atlas = new AtlasPlatform({ baseUrl: "https://atlas.fyi" });

const vault = await atlas.getVault("0xab12...");
console.log(vault.allocation);

Verify a proof client-side

const proof = await atlas.getProof(publicInputHash);
atlas.verifyProof(proof); // throws on shape errors
// hand to sp1-solana for the cryptographic check

Subscribe to a live stream

const ws = atlas.streamRebalances(vaultId, (e) => {
  if (e.proof_status === "verified") render(e);
});
// later
ws.close();

Concepts

  • Vault

    Custody account with an immutable strategy commitment.

  • Rebalance

    Atomic capital movement. Bound to an SP1 / Groth16 proof.

  • Public input

    Fixed-size payload folded into the proof.

  • Disclosure policy

    Who sees what. Hashes into the public input.

  • PER session

    Private execution; settles to mainnet within 256 slots.

Cookbook

  • deposit

    Connect a wallet, deposit USDC

    Walks the SIWS auth flow and a simulate-then-sign deposit ix.

  • verify

    Verify a proof in the browser

    Loads a Groth16 receipt; runs sp1-solana through WASM.

  • alerts

    Watch alerts via WebSocket

    Subscribes stream.vault.{id}.alert; renders in any UI.

  • widgets

    Embed /infra widgets

    Drop the @atlas/widgets iframe into a status page.

  • intel

    Score a wallet locally

    Runs the QVAC analyst on-device, no calls home.

  • treasury

    Open a treasury vault

    Squads multisig wizard plus KYB if business.

References

⌘ I