Install

The SDK is viem-based and ships ESM + CJS + types. viem is a peer dependency.

Set up clients

Every SDK call takes a ClientPair (a viem public client for reads, a wallet client for writes). The chain is exported from the SDK.
Arc’s public RPC is rate-limited. For a multi-transaction flow, wrap the transport to back off on the JSON-RPC error -32011 (“request limit reached”), which viem does not retry by default, and enable Multicall3 batching on the public client (batch: { multicall: true }) to collapse concurrent reads into one request.

Addresses

Contract addresses live in one place and are exported from the SDK, so you never hardcode them:
Next: the quickstart.