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
The display name shown in the connection popup. Defaults to
'App' if omitted; recommended to set.An HTTPS URL to a square logo. Shown in the connection popup.
Chain IDs your app supports. Defaults to
[] if omitted; recommended to pass at minimum 1868 (Mainnet) or 1946 (Minato).Optional preferences. See
createStartaleAccountSDK for the full type.Optional. Wire an ERC-7677 paymaster service per chain. Standalone dapps need this to sponsor gas; without it, users pay from their smart account ETH balance. Mini Apps inside the Startale App ignore this field and use the host paymaster. See Custom paymaster and Gas sponsorship.