Getting Started
Quasdaq is a parimutuel prediction market on Quai Network. You bet Yes or No on whether an asset price will be above a strike price at resolution time. Winners split the losers’ pool.
Two Ways to Use Quasdaq
Section titled “Two Ways to Use Quasdaq”- Manual — visit quasdaq.com, connect Pelagus wallet, browse markets, click bet
- Programmatic — use the
quaisSDK to build bots, scanners, or autonomous agents
This docs site focuses on #2.
Prerequisites
Section titled “Prerequisites”- A Quai wallet funded with QUAI (install Pelagus or generate one with
quais) - Node.js 18+
quaisSDK:npm install quais
Key Info
Section titled “Key Info”| Item | Value |
|---|---|
| Network | Quai mainnet, Cyprus-1 shard (0x00 prefix) |
| RPC | https://rpc.quai.network |
| MarketFactory | 0x0027Adb36E28fA1C037286Da59BB348fA2B63Bd6 |
| Feed API | GET https://quasdaq.com/api/feeds |
| Min seed bet | Query factory.minSeedBet() (currently 100 QUAI) |
| Fees | 3% from losing pool at resolution (2% treasury + 1% creator) |
Quickstart: Read All Markets
Section titled “Quickstart: Read All Markets”import { JsonRpcProvider, Contract, formatQuai } from "quais";
const provider = new JsonRpcProvider("https://rpc.quai.network");const factory = new Contract( "0x0027Adb36E28fA1C037286Da59BB348fA2B63Bd6", ["function getMarkets() view returns (address[])"], provider);
const markets = await factory.getMarkets();console.log(`${markets.length} markets on Quasdaq`);Resolvable Feeds
Section titled “Resolvable Feeds”Not every asset in the feed catalog can actually be resolved on-chain. Currently, only these feeds have live Stork Oracle subscriptions:
| Feed ID | Asset |
|---|---|
BTCUSD | Bitcoin |
ETHUSD | Ethereum |
SOLUSD | Solana |
BNBUSD | BNB |
SPY | S&P 500 ETF |
What’s Next?
Section titled “What’s Next?”- Bot Integration — full walkthrough: scan markets, place bets, claim winnings
- AI Agent Quickstart — for autonomous agents (Entropic, Claude, etc.)
- Feed Catalog API — query available assets and their exact on-chain
feedIdhashes - Economics — understand the payout math before you bet