3rd Party Signers
Account Kit is designed to be flexible and allow you to use any Signer you want. If you choose not use our signer, you can either:
- Use a 3rd party library as a Signer that integrates with Account Kit.
- Implement
SmartAccountSigner
(exported in@aa-sdk/core
). - If your Signer is an EIP-1193 compliant provider, you can leverage
viem
’sWalletClient
and theWalletClientSigner
(exported in@aa-sdk/core
).
Then you can use your Signer as an owner on Smart Contracts exported from @account-kit/smart-contracts
and with our infra Smart Account Clients exported from @account-kit/infra
.
Third Party SDKs
If you’ve built an SDK or Guide that leverages any of the methods below to use as a 3rd Party Signer, we’re happy to include you in this list!
Please open a PR to add a link to your content in this section.
Implementing SmartAccountAuthenticator
or SmartAccountSigner
Smart accounts in Account Kit expect an implementation of SmartAccountSigner
to work in Account Kit. We also include a SmartAccountAuthenticator
interface that extends SmartAccountSigner
and wraps any SDKs you may wish to use as part of the implementation of your own Signer.
Using WalletClientSigner
Viem allows you to create a WalletClient
, which can be used to wrap local or JSON RPC based wallets. You can see the complete docs for leveraging the WalletClient
here.
We support a SmartAccountSigner
implementation called WalletClientSigner
that makes it really easy to use a viem WalletClient
as a signer on your Smart Contract Account. If your Signer is EIP-1193 compliant, it is really easy to use with WalletClient
. Let’s take a look at a simple example: