ERC-7579 smart account module activity
Uses Envio as the data layer.
- Uses HyperIndex to index module installations and uninstallations, as well as tracking the currently installed modules for each account.
- Uses HyperSync to fetch traces to get the installation data (Ethereum only).
ERC-7579 presents an interoperable plugin system for smart accounts. Smart accounts can install the compatible plugins with out vendor lock, enjoying interopera
Yet, there is a lack of data tooling around the standard. It's quite challenging to get the module installations, especially as the number of chains increases.
Envio offers exactly what we need to solve this. First, we create multi-chain indexer using HyperIndex, tracking not only the accounts themselves, but all the current and historical module installations for each of them. Then, we enrich that data further using HyperSync, fetching historical traces to get the module installation data.
Link: https://envio.dev/app/destiner/modulescan/3e770dc
Indexing a two-step process:
- Index
AccountDeployedevent from the EntryPoint contract to track accounts
- Uses
factoryfield to filter out non ERC7579-compatible accounts - Adds each compatible account to the indexer
- Indexes
ModuleInstalledandModuleUninstalledevents for each tracked account to track module activity
- Creates
ModuleInstallationandModuleUninstallationentities for each new indexed event - Maintains the list of
InstalledModuleentites for each account moduleslist of theAccountentity is updated automatically using the@derivedFromproperty
Link: https://modulescan-ui.vercel.app/
Example account with module data: https://modulescan-ui.vercel.app/account/1/0xfeb4037cd7c43f59666066a19b385b7fbaaf8d37
Home page: latest activity
Account page
Module page