deepbook-predict
Installation
SKILL.md
DeepBook Predict
Expiry-based prediction markets on Sui. Each market covers one underlying and one expiry timestamp. Predict is not a perpetual market.
If an API or parameter is not shown here or in the reference files, check docs.sui.io and the deepbookv3 repository rather than extrapolating from other prediction protocols.
Quick start
import { DeepBookClient } from '@mysten/deepbook-v3';
import { getConfig } from '@mysten/deepbook-v3/predict';
// Deployment IDs and coin types are per-network. Never hardcode a symbol.
const config = getConfig(network); // 'testnet' | 'mainnet'
const collateral = config.quoteCoinType;