ERC-7579: Minimal Modular Smart Accounts
ERC-7579 standardises a module interface for smart-contract accounts (built on ERC-4337). Modules plug into accounts to add features: validators (validate user ops), executors (perform transactions), fallback handlers, hooks. The goal is to let users mix-and-match modules from different vendors without rebuilding their account.
Module Types
| Type | Purpose | Methods |
|---|---|---|
| Validator | Authorize user ops | validateUserOp, isValidSignature |
| Executor | Execute transactions | execute, executeFromExecutor |
| Fallback handler | Handle unknown calls | fallback |
| Hook | Pre/post call hooks | preCheck, postCheck |
Neo Equivalent
Neo C# port: a programmable account contract whose Verify method delegates to a list of "validator" contracts, and whose Execute method optionally runs through "hook" contracts. Modules are themselves Neo contracts; the account stores their script hashes and dispatches.
Live on Neo TestNet
Both implementations are deployed on Neo N3 TestNet (network magic 894710606).
| Implementation | Contract Hash | Deploy Tx |
|---|---|---|
Solidity (neo-solc) | 0x5e6edfc08e536f6d8891af968a52f7d56c11a528 | (reused — see 0x5e6edfc08e536f6d8891af968a52f7d56c11a528) |
Neo C# (nccs) | 0xcbd2e64f3ef5d5c9069fadf9c7d72ffcb8664f86 | (reused — see 0xcbd2e64f3ef5d5c9069fadf9c7d72ffcb8664f86) |
Cross-implementation invocations match on moduleCount. Source pairs under docs/standards-mirror/deployments/erc-7579/.
