ERC4337 Demo Chat Application using the SafeWallet as onchain wallet via Candide Abstractionkit 0.1.3. It follows largely the demo of this video walkthrough.
Have a Browser-Wallet like MetaMask ready then
git clone https://github.com/tomw1808/erc4337-candide.git
cd erc4337-candide
npm i
npm run dev
Note: If it runs slow with the chat-messages, try adding an Infura-ID to .env
. If there is no infura id, it will automatically use a public provider which might be slow.
Open http://localhost:3000 with your browser to see the result.
To learn more about ERC4337 Account Abstraction, take a look at the following resources:
- Candide Documentation - The library I used here
- Eth Infinitism Repo - The core team around erc4337 developing the entrypoint
- Abstractionkit Github Repo - The official repo for Candide Abstractionkit
- Stackup/Alchemy/Candide Video Walkthrough - My lengthy end-2-end video walkthrough of the Stackup/Candide/Alchemy Walkthrough
- ERC4337 App using Candide
- Chatter ERC4337 App using Stackup/Alchemy/Candide
- Ethereum-Blockchain-Developer - Learn Solidity and Ethereum Development from me 🤗