Account Factories
By default, the SDK uses a global account factory deployed on most chains:
AccountFactory
at address0x85e23b94e7F5E9cC1fF78BCe78cfb15B81f0DF00
for Entrypoint v0.6.AccountFactory_0_7
at address0x4be0ddfebca9a5a4a617dee4dece99e7c862dceb
for Entrypoint v0.7.
The default account factory deploys standard, immutable accounts with the features listed below. However, you can customize the behavior of your apps smart accounts by deploying your own account factory contracts.
You can deploy your own Account Factory via the explore page or build your own ERC 4337 compatible factory contract using the Solidity SDK.
thirdweb offers different kinds of prebuilt account factories:
Account Factory for Entrypoint v0.6
Managed Account Factory for Entrypoint v0.6
Account Factory for Entrypoint v0.7
Managed Account Factory for Entrypoint v0.7
To learn more about each factory and their respective account implementations, read our smart contract deep dive.