On-chain
SDK
The TypeScript boundary for Solana wallet, market, collateral, and settlement operations.
Exports
- SolanaWalletProvider
- Connects wallets and signs messages or transactions.
- SolanaMarketService
- Reads and writes market-level Solana state.
- SolanaCollateral
- Deposits, withdraws, and reads Market Collateral.
- SolanaSettlement
- Resolves Markets, settles, claims payouts, and handles refunds.
Frontend mapping
SDK exports map to frontend wallet abstractions so UI code can call stable interfaces while Solana details stay contained.
Configuration
Devnet configuration should include the RPC URL, Program IDs, USDC mint, and any vault authority addresses required by deployed Programs.