With wagmi (recommended for React)
WagmiProvider and QueryClientProvider. See the Quickstart for a complete example.
With the raw provider
For non-React apps, custom state management, or server-side wallet code:Options
string
The display name shown in the connection popup. Defaults to
'App' if omitted; recommended to set.string
An HTTPS URL to a square logo. Shown in the connection popup.
number[]
Chain IDs your app supports. Defaults to
[] if omitted. Pass 1868 for Soneium Mainnet. See Networks.Preference
Optional preferences. See
createStartaleAccountSDK for the full type.Record<chainId, { url, id }>
Optional. Wire an ERC-7677 paymaster service per chain. A standalone application needs this to sponsor gas; without it, users pay from their smart account ETH balance. Mini Apps inside the Startale App ignore this field and are sponsored by the host. Only
url is transmitted, and only on wallet_sendCalls. See Gas in a standalone application.