Account Modules
Developers can enhance the functionality of ZKsync SSO accounts by implementing compatible modules via smart contracts. The module interface is based on ERC-7579 to allow maximum flexibility while using ZKsync's powerful native account abstraction to developer overhead.
The existing passkey and session features are already implemented as modules, and installed by default for every new account deployment. Modules can be added or removed from the account, without having to migrate or upgrade the whole account.
Contributing Modules
You can contribute to the smart account modules available to ZKsync SSO users by
submitting a PR to the zksync-sso-clave-contracts
repository.
Modules must implement the
IModuleValidator
interface.
The current implemented modules can be found in the validators
folder.
Looking for inspiration? Take a look at the modules already created for ERC-7579