Reference implementation for ERC-6900. It is an early draft implementation.
The implementation includes an upgradable modular account with two plugins (SingleOwnerPlugin
and TokenReceiverPlugin
). It is compliant with ERC-6900 with the latest updates.
- Not audited and should NOT be used in production.
- Not optimized in both deployments and execution. We’ve explicitly removed some optimizations for reader comprehension.
Anyone is welcome to submit feedback and/or PRs to improve code or add Plugins.
forge build
# or use the lite profile to reduce compilation time
FOUNDRY_PROFILE=lite forge build
forge test -vvv
# or use the lite profile to reduce compilation time
FOUNDRY_PROFILE=lite forge test -vvv