viem, and react first. Reads need a chain id and a public client. Writes need a wallet, or a batched sender if you use account abstraction. Leave addresses unset unless you deployed your own.
Then you can list existing questions, or create “Will ETH be above $5,000 at year end?” with Yes and No.
Wrap the app
sendCalls so seed, swap, and add liquidity can batch into one UserOp. A plain walletClient sends each inner call as its own transaction.
List markets, then ask one for pictures
useVoiz() throws outside the provider.
Next
- List markets — browse the catalog
- Create a market — publish a question
- How to think about it
- VoizProvider and useVoiz