EIP-4337 Smart Contract Wallets
Turn any EOA into a smart contract wallet with EIP-4337.
Usage with any external wallet
Use the accountAbstraction flag on the ConnectButton or useConnect hook to automatically convert any external wallet to a EIP-4337 smart contract wallet.
Code
Preview
Usage with in-app wallets
Set the executionMode when creating your in-app wallet to turn it into a EIP-4337 smart contract wallet. Note that when set, the returned address will be the smart contract wallet address.
Code
Preview
Build custom UI
Build your own UI to connect to 4337 smart accounts
Code
Preview