Skip to main content
Set account.type in createAccount to choose the smart account implementation. If you omit account, @rhinestone/sdk 2.16.1 uses Nexus 1.2.1. The provider configuration contributes to the counterfactual account address. Choose it before funding or deploying the account, and keep the same configuration on every chain.

Supported providers

Configure the SDK

SDK-level configuration, including authentication and RPC providers, is shared by every account created from the instance. Keep API-key authentication server-side:
Use short-lived JWTs as described in security when the SDK runs in a browser.

Select an implementation

The owner shown below is any viem-compatible account from account setup.
Omit optional versions and salts unless you need to reproduce an existing address. In particular, upgrading a pinned Nexus 1.2.0 account to 1.2.1 changes its derived address. To attach an account that already exists, follow bring your own account.