@voiz/markets-sdk is the TypeScript SDK for Voiz markets on EVM. List markets, seed pools, trade, add liquidity, and read positions — with viem under the hood.
Install
@voiz/markets-sdk—VoizMarketsClient, helpers (quoteSeed,normalizeOddsBps,getAddresses), types,erc20Abi@voiz/markets-sdk/react—VoizProvider,useVoiz
Mental model
Access everything through a client, then drill down:sendCalls (or a walletClient fallback). Call market.seed, pool.swap, and similar — the client submits for you.
Next steps
Key concepts
Client → Market → Pool → User, quotes vs writes, indexer vs RPC.
Quickstart: React / Next.js
Wrap your app with
VoizProvider, then use useVoiz().client.Quickstart: vanilla viem
Construct
VoizMarketsClient without React.Create a market
Step-by-step flows after you are set up.