How ERC-7579 works: a technical introduction

The introduction of ERC-7579 demonstrates a commitment to improving the current standards, specifically ERC-6900, to create a more user — and developer-friendly experience. Additionally, ERC-7579 seeks to enhance the account abstraction capabilities of ERC-4337, opening up new possibilities in the field. Here's our technical guide on how ERC-7579 works.

TL; DR

  • Account Abstraction (AA) via ERC-4337 transforms traditional accounts into smart contracts, enabling advanced features like passkey authentication and gas-free transactions, adopted by leading wallets like Safe, OKX and Biconomy.

  • The new ERC-7579 standard improves smart contract accounts, making them more compatible and easier to create. Industry players developed it and emphasize its simplicity and comprehensiveness.

  • ERC-7579 aims to provide a comprehensive approach to managing accounts, allowing for flexible execution methods and data encoding to enable customizable and versatile account services.

  • ERC-7579's main features include smart account and module configurations for interoperability. It integrates hooks and ERC-1271 forwarding to improve functionality and security.

  • Implementing modular smart account standards, such as ERC-7579, marks a major progression in blockchain technology, offering a more cohesive, flexible, and future-oriented community.

What are ERC-4337 and ERC-7579?

ERC-4337

The introduction of account abstraction (AA), as outlined by ERC-4337, mitigates many issues with traditional externally owned accounts (EOAs) and raises the bar for on-chain interactions. As accounts have been transformed into smart contracts, they can incorporate unique methods for controlling access and implementing new logic that was previously not feasible.

Some of the top wallets in the industry, including Safe, Biconomy, ZeroDev, and OKX, have already introduced advanced functionalities such as passkey authentication, account retrieval, and gas-free transactions.

However, this is only the beginning. Similar to how smartphones transformed how people interact with the digital realm through third-party applications, smart contract accounts will bring about a similar change in Web3 by facilitating an accessible network of account services and modules. DApp initiatives and other developers will be able to effortlessly onboard users and offer personalized experiences.

ERC-7579

ERC-7579 is a smart contract account standard released in a collaboration between Rhinestone, Biconomy, ZeroDev, and OKX. It seeks to push forward AA innovation by providing a set of interfaces and expected behaviors to streamline development efforts and encourage interoperability.

The standard was guided by the principles of minimalism and comprehensiveness. Being minimal, the fundamental theme of ERC-7579, is crucial as it reduces the chance of imposing unnecessary or even incompatible requirements on implementations. At the same time, the standard had to take into account all the possible requirements and ensure compatibility between wallets that vastly diverge in implementation.

What is ERC-7579 core functionality?

The primary goal of ERC-7579 is to create a uniform method for carrying out account tasks. This will provide modules and other integrators with a definitive understanding of what to expect and look for. The guideline should cover all forms of executions, including Single, Batch, and Delegatecall.

Additionally, it must be capable of accommodating intricate execution patterns and various forms of data encoding, which OKX first introduced.

To accomplish this, the standard uses a singular bytes32 argument that encodes all the necessary information.

  • The CallType (single, batch, delegatecall) can be enumerated using the first byte.

  • Using the ExecType flag, executions can also be flagged to not revert on failure, allowing the rest of the userOp (other uncorrelated executions) to proceed.

  • A ModeSelector was included to allow implementations to specify any other nuances they might require, as well as a ModePayLoad to allow for the inclusion of additional data.

These primitives can form any other combination a wallet might require, and implementations can choose which modes to support, with minimal complexity and overhead.

The core of the matter lies within the modules. For modules to be account-agnostic and interoperable, ERC-7579 had to establish interfaces and guidelines, which required meeting several requirements. Accounts need a way to determine a module's capabilities for security and functionality reasons. Modules also need a structured format for interacting with accounts and vice versa.

What are the specifications ERC-7579 highlights?

  • Smart account configurations: To ensure interoperability, smart accounts must have an interface that can provide account identifiers, facilitate checks for execution modes, and enable compatibility checks for module types, all for unique identification.

  • Module configurations: Smart accounts must incorporate a module configuration interface. This guarantees that module types are distinguished for authorization purposes and specifies procedures for installing and uninstalling modules. Additionally, it includes mechanisms for signaling any changes in a module's lifespan.

Extensions: Hooks and ERC-1271 Forwarding

  • Hooks: An optional extension; hooks allow smart accounts to perform custom logic checks before and after executions, highlighting the standard's flexibility in accommodating custom functionalities.

  • ERC-1271 Forwarding: Implementing ERC-1271, smart accounts may forward signature validation calls to validators, showcasing an integration of modular functionality with existing Ethereum standards.

Practical applications and implementations

Biconomy's use of modular smart accounts serves as a real-life demonstration of how these standards can be applied. By incorporating different modules, such as validators and executors, Biconomy makes it easier for users to validate operations and manage the system in a modular manner, highlighting its adaptable and versatile nature.

The platform uses a smart accounts factory to set up initial modules according to ERC-4337 standards. It also introduces new concepts such as ECDSA and Passkey Authorization Modules to improve security and user satisfaction.

The final word

The movement towards establishing consistent modular smart accounts, as seen in proposals like ERC-7579, is a significant step towards harmonizing the way blockchain accounts and modules interact. This promotes compatibility and progress and tackles issues such as being restricted to one vendor and fragmentation within the current system.

Observing the practical advantages and potential of modular smart account implementations, it becomes clear that these standards can create a more adaptable, interconnected, and forward-thinking landscape for blockchain technology.

Ansvarsfriskrivning
Detta innehåll tillhandahålls endast i informationssyfte och kan omfatta produkter som inte finns tillgängliga i din region. Syftet är inte att tillhandahålla (i) investeringsrådgivning eller en investeringsrekommendation; (ii) ett erbjudande eller en uppmaning att köpa, sälja eller inneha krypto/digitala tillgångar, eller (iii) finansiell, redovisningsmässig, juridisk eller skattemässig rådgivning. Innehav av krypto/digitala tillgångar, inklusive stabila kryptovalutor och NFT:er innebär en hög grad av risk och de kan fluktuera kraftigt. Du bör noga överväga om handel med eller innehav av krypto/digitala tillgångar är lämpligt för dig mot bakgrund av din ekonomiska situation. Vänligen konsultera din professionella rådgivare inom juridik/skatt/investeringar för frågor om dina specifika omständigheter. Information (inklusive marknadsdata och statistisk information, om sådan finns) i detta meddelande är endast avsedd som allmän information. En del innehåll kan genereras eller assisteras av verktyg med artificiell intelligens (AI). Även om all rimlig omsorg har lagts ned på att ta fram dessa data och grafer, accepteras inget ansvar för eventuella faktafel eller utelämnanden som uttrycks häri. OKX Web3-plånbok och dess tillhörande tjänster erbjuds inte av OKX Exchange och är föremål för OKX Web3-ekosystemets användarvillkor.

Relaterade artiklar

Visa mer
Wallet import general banner
Web3

How to import MetaMask Wallet to OKX Wallet: Guide for Ethereum Wallet users

[Article]How to import MetaMask to OKX Wallet: Guide for Ethereum Wallet Users Want to import your MetaMask Wallet to OKX Wallet? This guide shows you how to securely transfer your Ethereum assets—including tokens, NFTs, and staked tokens—into OKX Wallet, a multichain wallet that supports 130+ blockchains. Learn how to import your MetaMask wallet using your 12-word recovery phrase via both our mobile app and browser extension. Explore Ethereum-based dApps like Uniswap, OpenSea, and Aave seamlessly within the OKX Wallet ecosystem while enjoying enhanced security and cross-chain capabilities.
25 juni 2025
Wallet import general banner
Web3

How to import Phantom Wallet to OKX Wallet: Guide for Solana & Sui Users

How to import Phantom Wallet to OKX Wallet: Guide for Solana & Sui Users Want to improve your wallet experience? Import your Phantom Wallet to OKX Wallet in a few simple steps. This guide shows you how to securely transfer your Solana and Sui assets—including tokens, NFTs, and staked tokens—into OKX Wallet, a multichain wallet that supports 130+ blockchains. Learn how to import your Phantom wallet using your recovery phrase via both our mobile app and browser extension, and explore Solana and Sui dApps like Jupiter, pump.fun, and Cetus seamlessly.
24 juni 2025
1
MP Cover
DeFi

Gas-related concepts

Gas fee Fee paid to miners. Take Ethereum as an example: when a user transfers money on the Ethereum network, the transaction can only be completed after miners pack this transaction and put it on the blockchain. This process consumes the computational power of the blockchain.
16 juni 2025
696
OKX's Proof of Reserves 23
Security

How to identify onchain scams and secure your wallet

As Web3 continues to evolve at pace, the onchain ecosystem is flourishing, with rising numbers of users participating in onchain transactions and other activities. Simultaneously, various onchain scams are emerging, with fraudsters tricking users into authorizing transactions or revealing their keys to steal assets.
16 juni 2025
797
trade-academy-spot-1
Security

Seed Phrase: Understanding and Safeguarding Your Cryptocurrency Assets

As the world of cryptocurrency continues to grow, more and more users are entering the market and handling their digital assets. One critical aspect of managing these assets is the seed phrase, a uniq
16 juni 2025
4 360
Your money your choice
GameFi
NFT
Wallets

A complete guide to the best crypto phones in 2024

Crypto phones  first appeared in 2018. They're smartphones equipped with Web3 connectivity, simplifying access to the decentralized web. Despite recent improvements, mobile Web3 apps can still be less user-friendly than desktop versions, challenging blockchain interactions on smartphones.
4 juni 2025
14
Visa mer