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:

Availability

These examples use the public @rhinestone/1auth 0.10.2 release. The 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.