Skip to main content
Creates an SDK instance and returns helpers for working with it.

Signature

Options

string
The display name shown in the connection popup. Defaults to 'App' if omitted; recommended to set. Maximum length is unconstrained but keep it under 32 characters for readability.
string
HTTPS URL to a square logo. Shown in the connection popup. Must be reachable.
number[]
Chain IDs your app supports. Defaults to [] if omitted. Pass 1868 for Soneium Mainnet. See Networks.
Preference
Optional. Filters auth methods, requires linked EOA, sets the wallet popup URL.
Record<chainId, { url, id }>
Optional. The ERC-7677 paymaster service that sponsors gas for a standalone application, keyed by chain id. Only url is transmitted, and only on wallet_sendCalls. Ignored inside the Startale App, where the host sponsors. See Gas in a standalone application.

Returns

() => ProviderInterface
Returns the EIP-1193 provider. Use it directly or wrap it in a wagmi connector.