Skip to main content
You are wiring the client yourself — scripts, backends, or a UI that is not React. Install the SDK and viem first. Reads need a public client. Writes need a wallet. A private key is for scripts and backends. A non-React UI should pass the connected wallet. 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.

Create a client

With walletClient, each inner call is its own transaction. With sendCalls, the batch is one UserOp. High-level methods use whichever you passed.

Look around

That read is the catalog. Names and answers come back; pictures do not. People can trade only after you create and seed, or after you pass the first liquidity in the same create call.

Next