Skip to main content
These are addresses, the ERC-20 ABI, and a testnet mint. They are not market objects. Market, answer, and wallet handles come back from the client. Import them from @voiz-digital/markets-sdk. The metadata bag you pass on create is CreateMarketMetadata. Odds helpers live on Seed a market. Client construction lives on Set up with viem.

getAddresses

Overrides are Partial<Omit<ChainAddresses, "chainId">>. Valid keys: marketFactory, adminOracle, multisigOracle, router, collateral, conditionalTokens. There is no hook field. Pass the result as addresses on the client or VoizProvider when you are not on the baked-in Base or Base Sepolia map.

erc20Abi

Use this only when you read balanceOf or allowance yourself. High-level methods already encode approvals.

mintCollateral

Mints testnet collateral when the token exposes mint. There is no client.burn. First liquidity is market.seed. Later liquidity is market.addLiquidity.

Next

Create a market