SDK integration
Installation
npm i aa-conla-sdkNPM package link:
This package provides 2 APIs for using UserOperations:
Low-level "walletAPI"
High-level Provider
LowLevel API
BaseWalletAPI
An abstract base-class to create UserOperation for a contract wallet.
SimpleAccountAPI
An implementation of the BaseWalletAPI, for the SimpleWallet sample of account-abstraction.
High-Level Provider API
A simplified mode that doesn't require a different wallet extension. Instead, the current provider's account is used as wallet owner by calling its "Sign Message" operation.
This can only work for wallets that use an EIP-191 ("Ethereum Signed Message") signature (like our sample SimpleWallet) Also, the UX is not great (the user is asked to sign a hash, and even the wallet address is not mentioned, only the signer)
Last updated