此網頁僅供信息參考之用。部分服務和功能可能在您所在的司法轄區不可用。

Exploring the powerful synergy of account abstraction and intents

Authored by Kiwi Yao, researcher @OKX Ventures

When combined, smart accounts and intent create a powerful tool that allows you to manage your digital assets more efficiently. The ERC-4337 standard enables third parties to process order flows for you. This makes it simpler to carry out tasks while also improving scalability. The alliance between smart accounts and intent paves the way for more advanced interactions in the future.

What's the connection between AA and intents?

While intents and account abstraction (AA) are connected, they serve distinct roles in the ecosystem. There isn't a fixed binding relationship between the two, but a complementary synergy.

Intent is putting the user experience first, swiftly breaking down user needs and translating them into one or more user operations (user ops). It finds the best operational route to achieve a specific goal.

As history shows us, intents have addressed more straightforward needs. However, as technology advances, we're poised to tackle complex challenges with numerous conditions, multifaceted steps, and a range of execution environments. In such advanced scenarios, AI agents might even come into play.

To understand this further, here are some examples:

  • Consider Telegram bots as an intent innovation. Even though the backend still employs externally owned account (EOA) wallets, the user experience remains unaffected.

  • Imagine a scenario where a user wishes to purchase 1,000 USD worth of Ethereum. Here, the solver determines the parameters, such as the chain selection, the decentralized exchange (DEX), and slippage tolerance. The derived user op then interacts with an EOA, multi-party computation, or AA wallet at the backend.

  • Projects like 1inch's DEX aggregator are pioneering the intentional narrative. Here, users merely state their input and slippage tolerance, leaving it to the contract to find the optimal operation. Similarly, Flashbots auction search, with its transaction order preference, epitomizes the searcher intent. As the digital world evolves, we can anticipate myriad forms of intent emerging.

On the flip side, AA is all about backend operations. It streamlines the execution of user commands, providing a seamless and efficient experience.

Classifying intent

Understanding the different types of intent is crucial:

  • Conditional intent: Triggered by specific conditions, similar to an "if statement". An example from the financial realm would be the stop-loss feature.

  • Continuous intent: Denotes repetitive operations that occur based on recurring scenarios or time intervals, such as the principle behind monthly dollar-cost averaging.

  • Multi-step intent: This cascades from one intent to another, behaving much like a state machine. For instance, if someone intends to purchase Ethereum and has conditions about price thresholds, transfers, and arbitrage, this would fall under this category.

  • Intent graph: Multiple intentions come together to create a complicated system that's seen when users seek to purchase or sell tokens based on certain conditions, such as changes in governance, block mining, or market prices.

Account abstraction makes intents more efficient

The concept of intent results from technological advancements and user experience. By minimizing the need for operational signatures, intent streamlines user interactions across Web3. With the evolution of intent, we develop new infrastructures, languages, and approaches to problem solving, making it pivotal in shaping future applications.

Key opportunities include:

Intermediary intent pool or intent public chain

This involves innovative message formats to communicate with smart contracts, replacing traditional mempool systems for transaction propagation and discovery.

Diversified solver implementations

  • Short-term: Integration of mature super smart contracts.

  • Long-term: Usage of high-freedom AIs, albeit with implementation challenges. This will inaugurate an off-chain preprocessing followed by on-chain processing paradigm, beneficial for protocols like Uniswap X. The ZK coprocessor Axiom stands as a testament to the potential of privacy-solving.

Language evolution

Current players like Juvix and Essential are pioneers in this area. Their success hinges on building user trust and navigating the challenges ahead.

Elevating wallets

As the foundational element of the intent layer, wallets are primed to evolve into unified entry points. By integrating with diverse protocols, they can tap into significant user traffic.

Intent pools

Intent pools are like pipelines. They take user intentions and turn them into transactions. There are two main ways to do this: MEV boost auctions or on-chain transactions. A number of intent pools exist today:

  • Unlicensed intent pool: Enables propagation across system nodes, granting executors unrestricted access. This pool does pose some risks, such as DoS threats and MEV issues.

  • Licensed intent pool: Offers a resilient defense against DoS attacks. However, its inherent trust requirement can conflict with the blockchain's decentralized ethos.

  • Hybrid intent pool: Marries licensed propagation with permissionless execution. Order flow auctions exemplify this approach.

Further explorations:

  • Intent layer: Platforms like Anoma and Flashbots SUAVE are ushering in dedicated layers to address MEV risks.

  • Diversified solver implementations: Strategies include integrating contracts with smart contracts, off-chain preprocessing paradigms, and making sure of privacy in operations.

  • AI automation: The future sees two primary avenues: AI as an integrated wallet feature or AI directly linked with user op. Competitors in this area could range from Siri and Google Assist to ChatGPT clients.

  • Novel languages for intent expression: Efforts are underway to develop languages that enable private intent expression. Notable projects include Juvix, which offers a platform for crafting privacy-centric decentralized apps, and Essential, which is pioneering a domain-specific language (DSL) for intent expression.

Wallets and opportunities for entry

Intent's backend can seamlessly integrate with conventional EOA and MPC wallets. For instance, Telegram bots employ intent and still use EOA wallets without compromising on the user experience. With users' security concerns front of mind, future strategies might use AA to better manage risk.

Smart contract wallets and SDKs

While the market for components like bundler, paymaster, and providers like Wallet Factory is dense, intent introduces avenues for innovation.

Features and modularization

Most smart contract wallets already include features like social recovery. However, integrating intent can take this further. Examples of modularized features are found in wallets like Argent, Candide, and Gnosis Safe, which support additions beyond the EIP-4337 interface.

Social recovery options

  • Web2 service providers: Argent offers recovery based on trusted contacts.

  • User devices: Including browser and mobile storage.

  • Email: UniPass uses emails for recovery while protecting user data privacy with zero-knowledge proofs.

  • Multi-Sig: BLS Wallet and Argent allow recovery via multiple user-specified EOA addresses.

  • MPC: Web3Auth's service divides user keys for enhanced security, keeping the complete key hidden.

Transactional applications

Integrating with decentralized finance (DeFi) protocols, supporting automated trading offers a spectrum of user benefits:

  • Uniswap X, for example, provides opportunities for order arbitrage.

  • Protocols can eliminate repetitive authorizations. A use case being dollar-cost averaging in DeFi protocols where investments occur automatically without manual intervention.

Cross-chain applications

These play a pivotal role in enhancing user experience across chains:

  • Cross-chain DeFi protocols: Orbiter, a decentralized bridge, offers low fees and swift multi-currency transfers.

  • Multi-chain DApp management protocols: Platforms like DAppOS function as cross-chain SDK protocols. By partnering with DEXs like Perpetual Protocol, they uplift the DeFi cross-chain experience.

ZK class application opportunities

The ECR-4337 standard offers strong encryption for user intents. This means zkProof can work better and potentially, a zkProof marketplace can emerge.

Encryption requirements

  • User ops can undergo threshold decryption or distributed key generation before transmission, providing decryption only after block confirmation by the bundler pool.

  • This interplay of zk, user ops, and gas verification propels the growth of zkproof and zkOracle, drawing parallels with platforms like the nil foundation.

Privacy payments process

The ECR-4337 mechanism allows users to execute privacy payments, safeguarding account confidentiality. Here's how it works:

  1. Users place funds into a privacy-protected rollup, targeting withdrawal to a new, unfunded CREATE2 address.

  2. They produce mixed withdrawal info, directing funds to a MixerPaymaster address, not their own.

  3. A user op with this info is created with UserOp.paymaster set as MixerPaymaster and sent to the ERC-4337 mempool.

  4. Bundlers pick this user op, verify its authenticity, and check MixerPaymaster's willingness to cover the gas fee.

  5. Once validated, bundlers integrate the user op into the chain, directing it to the entry point. This step results in deploying an account to the user's new address.

  6. The MixerPaymaster does the withdrawal, taking out the operation fee and sending the rest to the user's new address. The new address now has an account deployed. This procedure uses the ERC-4337 mempool without going through relayers.

Risks and thresholds

The architecture of intention mechanisms brings about critical trust, centralization, and transparency concerns. Remember, doing your own research is important to help keep your digital assets safe.

Centralization and trust

The cornerstone of intention mechanisms is trust. High trust expectations often lead to steep entry barriers for new entrants. Combined with unsupervised execution, it can result in block production being controlled by a few dominant entities, promoting centralization.

For instance, in the order flow auction space, established entities like Flashbots and CoWswap command significant market share, making it challenging for newcomers to gain traction without extensive resources.

Transparency issues

Intention mechanisms often allow users to relinquish some control over their on-chain assets. With many mempools being private, users might need clarification about how their intentions are executed. It's imperative for intention applications to make sure their systems are designed with caution, keeping potential threats at bay.

The final word

By seamlessly merging smart accounts and intent, we can usher in an era where digital asset management is efficient and sophisticated. The ERC-4337 standard entrusts third parties with order flows, streamlining operations and amplifying scalability. While intent and AA contribute uniquely, they exemplify how technology, with a user-centric approach, can simplify complex tasks and even integrate advanced tools like AI in future activities.

免責聲明
本文章可能包含不適用於您所在地區的產品相關內容。本文僅致力於提供一般性信息,不對其中的任何事實錯誤或遺漏負責任。本文僅代表作者個人觀點,不代表 OKX 的觀點。 本文無意提供以下任何建議,包括但不限於:(i) 投資建議或投資推薦;(ii) 購買、出售或持有數字資產的要約或招攬;或 (iii) 財務、會計、法律或稅務建議。 持有的數字資產 (包括穩定幣和 NFTs) 涉及高風險,可能會大幅波動,甚至變得毫無價值。您應根據自己的財務狀況仔細考慮交易或持有數字資產是否適合您。有關您具體情況的問題,請諮詢您的法律/稅務/投資專業人士。本文中出現的信息 (包括市場數據和統計信息,如果有) 僅供一般參考之用。儘管我們在準備這些數據和圖表時已採取了所有合理的謹慎措施,但對於此處表達的任何事實錯誤或遺漏,我們不承擔任何責任。OKX Web3 功能,包括 OKX Web3 錢包和 OKX NFT 市場都受 www.okx.com 單獨的服務條款約束。
© 2024 OKX。本文可以全文複製或分發,也可以使用本文 100 字或更少的摘錄,前提是此類使用是非商業性的。整篇文章的任何複製或分發亦必須突出說明:“本文版權所有 © 2024 OKX,經許可使用。”允許的摘錄必須引用文章名稱並包含出處,例如“文章名稱,[作者姓名 (如適用)],© 2024 OKX”。不允許對本文進行衍生作品或其他用途。
展開
相關推薦
查看更多
查看更多
立即註冊並領取獎勵