Skip to main content
This reference describes the local Protocol_V1_Soroban_testnet and mercury-stellar-backend code reviewed on 2026-09-12. It does not describe the Solana, Solidity, or older Soroban directories. Start with Architecture, Configured Contracts, and Math Reference. The contract reference includes the current Rust signatures, including privileged callbacks. Env is implicit at the transaction boundary.

Repository map

Current scope

Four lending markets, per-trader SmartAccounts, Blend supply, and Soroswap/Aquarius controller integrations are implemented. External availability remains pool/configuration dependent. Perpetuals and options are not enabled in this Stellar application. Read the frontend reference for routes and data limitations. The TypeScript integration is application-local service code, not a published @vanna/sdk package. Use Getting Started and Transaction Flow.