Skip to main content
The embedded wallet SDK exposes an EIP-1193 provider and a wagmi connector. Both reuse the shared client initialization and route requests to the selected account: your application’s embedded wallet or a connected external wallet.

EIP-1193 provider

Calling eth_requestAccounts authenticates the user and returns the account address:
To offer embedded and external wallets, call wallet_connect instead. See Connect external wallets for the connection flow. The provider supports these common methods: Listen for standard provider events:

viem

Wrap the same provider with a viem wallet client:
Use viem’s standard wallet actions after connection. For an external wallet, connect through wallet_connect first and wrap the same provider. Embedded-wallet transactions require the sponsorship callbacks configured on the shared client; follow Sponsorship setup.

wagmi

Create a connector around the same client:
config.ts
Connect and read the account with standard wagmi hooks. The connector opens the embedded-or-external wallet chooser:
Applications upgrading from the legacy connector need users to reconnect once because the connector ID changed. The user’s account and credentials stay the same.

Availability

These integrations expose the supported provider methods, not every method a browser extension wallet may implement. See Use and manage connected wallets for external-wallet transaction and connection behavior.