vanna-credit-layer (Anchor.toml, deployments/hosted-fork.json, the agents’ constants) and vanna-credit-backend/lib/solana. They describe the hosted Surfpool mainnet fork, which clones mainnet accounts on first use.
Endpoints
Vanna programs
Margin limits on the hosted fork (
deployments/hosted-fork.json): at most 3 debts and 2 venues per margin account.
Mints
PDAs for the protocol, assets, reserves, share mints, margin accounts, debts, integrations and the oracle’s books are derived. See PDAs.
Oracle sources
Integrations (margin_execute targets)
Kamino main market
The cToken each reserve mints is registered as a collateral-only asset. Its address is in
lib/solana/kamino.ts.
Phoenix
Markets listed in the fork’s market book: SOL, ETH and BTC at 5x; TSLA and META at 3x.
Yield vaults
The basis-vault program is deployed on the fork only. It is not on public mainnet yet.
Predict
Verify
ReadProtocolConfig, each AssetConfig and Reserve, the oracle’s PriceBook, and a known margin PDA. Compare the deployed program data against the SHA-256 hashes in deployments/hosted-fork.json. A reset fork is a new world: user margin addresses derive from the wallet, not from a constant table.
