Wallets API Quickstart (SDK)
Learn to interact with Wallet APIs using the Wallet Client SDK
1. Install Prerequisities
You’re going to need @account-kit/wallet-client
, @account-kit/infra
, optionally @aa-sdk/core
if you use a LocalAccountSigner
, and optionally viem
if you want to verify a signed message.
2. Create A Smart Account Client
Given a signer (e.g. a LocalAccountSigner
imported from @aa-sdk/core
or an Alchemy Signer), all you need to do is follow a few simple steps to start sending user ops with Wallet APIs!
3. Request The Account
A counterfactual address is the account address associated with the given signer— but the account contract hasn’t been deployed yet.