Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.57 KB

File metadata and controls

28 lines (21 loc) · 1.57 KB

Developer Documentation

Overview

ZKsync SSO is a modular smart account compliant with ERC-4337 and ERC-7579 and based on the ERC-7579 reference implementation.

Being familiar with these standards can prove useful while reading this documentation.

Features

  • Modular & Extendable Architecture: Pluggable validators and executors following the ERC-7579 standard; supports existing 3rd-party modules
  • Multiple Authentication Methods: Support for EOA keys, WebAuthn passkeys, and session keys
  • Session Key Support: Grant third parties limited, time-bound access with fine-grained permissions
  • Account Recovery: Guardian-based recovery system for lost keys or passkeys
  • Upgradeable: Factory and modules are behind transparent proxies; accounts use beacon proxies

Documentation

  • Architecture - System design and component relationships
  • Deploying - Deployment instructions and scripts
  • Modules - Available modules and their APIs
    • EOAKeyValidator - EOA owner validation
    • WebAuthnValidator - Passkey/WebAuthn support
    • SessionKeyValidator - Session key management with usage limits
    • GuardianExecutor - Guardian-based account recovery
  • Registry - ERC-7484 module registry integration
  • Calldata Format - ERC-7579 execution calldata encoding
  • Signature Formats - Signature encoding for each validator