Account
This contract inherits from the BaseAccount
contract
The Account smart contract is a non-upgradable, simple smart account that comes with all the basic benefits of account abstraction, alongside the default features:
- Have multiple owners
- Execute transactions (single and batched).
- Send and receive native tokens.
- Send and receive ERC-721 and ERC-1155 NFTs.
- Multicall-able.
- Store contract metadata.
Developers should use this wallet if they do not anticipate making any future upgrades to their users’ wallets.
App developers can issue Account
smart accounts programmatically by deploying an AccountFactory
smart contract.
Once deployed, you can use the features made available by these extensions on the SDK and dashboard:
Click on each feature to learn more about what functions are available.
Import the contract and inherit from it. This is an example contract demonstrating one way that you could override the functionality to create a token bound account.
The following functions have been implemented on this contract & are available to be overridden to add custom logic: