@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
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 readbalanceOf or allowance yourself. High-level methods already encode approvals.
mintCollateral
Mints testnet collateral when the token exposes mint. There is noclient.burn. First liquidity is market.seed. Later liquidity is market.addLiquidity.