ERC-7579 does not specify a way to get all installed modules from an account. Instead, it specifies that accounts need to emit events for installing and uninstalling modules. However, it might be useful for a module developer to be able to get all installed modules from the account.
Solution
Listen to events emitted and store installed modules with their type on the RhinestoneModuleKit or separate contract. Also expose a function to enable querying of these installed modules.
Problem
ERC-7579 does not specify a way to get all installed modules from an account. Instead, it specifies that accounts need to emit events for installing and uninstalling modules. However, it might be useful for a module developer to be able to get all installed modules from the account.
Solution
Listen to events emitted and store installed modules with their type on the
RhinestoneModuleKit
or separate contract. Also expose a function to enable querying of these installed modules.