This repository has all the smart contracts and tests used in my series called "Developer's Guide to ERC-4337."
Follow along with the articles for a complete walkthrough of each part:
- Developing a Simple Account
- Testing the Simple Account
- Integration Tests for Simple Account
- Understanding Bundler Refunds
To get started, clone this repo:
git clone [email protected]:nikbhintade/aa-developers-guide.git
Use this command to run all tests:
forge test
I aimed for 100% test coverage in these examples. Check the coverage results with:
forge coverage
To build the smart contracts, run:
forge build
I’d love to hear your feedback or ideas! Feel free to open an issue or make a pull request if you’d like to contribute.