Cointime

Download App
iOS & Android

Demystifying Wallets: A Revolutionary dApp User Flow

Validated Project

By Shu Dong and Zihao Chen From Hexlink

Note: This article assumes that you are already familiar with crypto wallets and related concepts

Account Abstraction is a concept which is rapidly gaining popularity in the world of crypto, with numerous wallets nowadays claiming to be AA-compatible and heralding a new era for the wallet ecosystem. In this article, we propose a new dApp user flow that Hexlink is experimenting with, which reveals the potential of AA from our perspective.

What is a wallet

Before we start to discuss Account Abstraction, let us first define what a Wallet is.

Conceptually, a wallet consists of two layers: the identifier (public address) and the authenticator (private key). The identifier layer handles asset management, chain configuration, and name service, while the authenticator layer handles signing and authentication. It is worth noting that authentication can provide a richer context than signing. For example, a wallet can support “Sign in with Ethereum” or “Wallet Connect” for login, where signing is just the last step of the whole process.

A classic wallet model

Among all these components, which is the essence of a wallet?

Interestingly, Web2 users and Web3 developers have different opinions on what the essence of a wallet should be. According to our survey, Web2 users believe that a wallet is more about assets and account management, while Web3 developers believe that the signing and authentication process is the soul of a wallet since it holds the most secret part of it: the private key. It’s difficult to say which one is correct since, in the EOA world, public and private keys are the same thing and derive from each other. However, things change a little bit when it comes to smart contract wallets.

Smart contract wallet as the 1st class citizen

Smart contract wallets have been around for a while, but they have not become the mainstream due to their inability to pay gas for transactions they have triggered. This means they always rely on an EOA with an ETH balance to trigger transactions and pay gas for them. Account Abstraction (EIP-4337) solves this problem by introducing the entry point contract and the bundler service, promoting smart contract wallets as first-class citizens in the blockchain world. There are other good features introduced by AA, such as paymaster and a unified user operation verification interface, but we believe gas payment is the most important one since it fixes the fundamental flaw of the system.

With AA, wallets are being turned into AA compatible smart contract wallets, but many are still following the architecture of the EOA wallet we showed above, which means that they are missing out on the potential brought by account abstraction.

Break down the wallet: the new dApp user flow

With smart contract wallets, there is no longer a binding between the wallet address and the private key. While a smart contract wallet may still have an EOA as its owner, the owner’s key can now be rotated. In this case, does it still make sense to pack these two layers in one wallet app?

Hexlink aims to break down the typical wallet app by splitting it into several different components/layers, making it more flexible and composable. We are proposing a new dApp user flow shown in the diagram below. With this revolutionary user flow, Hexlink is set to provide a seamless Web2 user experience for Web3 apps.

The new dApp user flow introduced by Hexlink

Let’s go through each component:

Name Service Layer

Users should be able to log in to dApps with human-readable names, such as ENS names, instead of raw addresses. Hexlink supports name mappings from email addresses and social accounts handle to smart contract wallet addresses, making it possible for users to log in to dApps directly with such identities.

Instead of inventing a new ID system, email is considered a natural choice for a decentralized identifier since it’s supported by a decentralized communication protocol. Users have been using their emails as their online IDs for Web1 and Web2 (most social media accounts, including Twitter/Facebook, are registered with emails). We believe this will continue to be the case for Web3.

Since a majority of Web2 users do not have wallet addresses, to further reduce the onboarding cost for new users, Hexlink seamlessly transforms email/Google/Twitter users into Web3 users by translating their familiar login identities into corresponding wallet addresses, allowing them to receive cryptocurrency without any need for downloads or sign-ups! The wallet address is unique to the email or social account owner and is verified by the Hexlink Identity Oracle. We are proposing EIP-4972 to standardize this workflow.

Application Layer

Once users have successfully logged in, they will be directed to the application layer. By using the name service, the application can access the user’s wallet address to display information about their assets. Despite most people being unaware, a wallet can be classified as a dApp as it contains a built-in asset/chain management feature. Nevertheless, Hexlink considers this feature as an independent layer and handles it similarly to any other decentralized applications.

In case users want to sign a transaction, instead of linking the wallet to dApps, Hexlink provides support for push mode. In push mode, dApps can simply send the transaction request to an authenticator app for signing. This approach makes the application layer much more straightforward, as it can now focus primarily on its own business logic, without having to concern itself with private key storage and signing.

Authenticator Layer

The authenticator layer could be an authenticator app, similar to Duo, Authy, or Google Authenticator. It holds the user’s private key and is solely responsible for signing transactions. When a request is received from the user, a notification with the details of the request will be popped up and displayed for the user to review and approve. Once the user confirms the transaction, it will be signed and either returned to the dApp or directly submitted on-chain.

The communication between dApps and the authenticator app is standardized by EIP-6662, which by introducing an unified account view for all dApps through the new IAccountMetadata interface. Once the user publishes their authenticator information on-chain, all dApps can access the required information proactively, eliminating the need for the user to share their information with each dApp individually.

Summary

In this article, we explore the potential of Account Abstraction (AA) and its role in shaping the future of blockchain wallets. We provide a comprehensive overview of the various components found in a typical EOA wallet and highlight how smart contract wallets can assist in dividing them into multiple applications.

We then present a new dApp user flow by breaking down the wallet app into three distinct layers: the Name Service Layer, Application Layer, and Authenticator Layer. With this revolutionary user flow, Hexlink offers a seamless Web2 experience for Web3 applications.

Comments

All Comments

Recommended for you

  • U.S. Tech Hardware Stocks Face Sell-Off, Philadelphia Semiconductor Index Plummets 5.7%

    On October 22, U.S. semiconductor stocks collectively declined, with the Philadelphia Semiconductor Index dropping 5.67%, marking a new low since July 29. Among the component stocks, AMD fell 7.21%, Intel dropped 6.57%, Applied Materials decreased by 6.57%, Arm fell 6.75%, Seagate Technology dropped 7.81%, and Western Digital decreased by 6.95%. Micron Technology fell 4.29%, NVIDIA dropped 3.93%, TSMC decreased by 3.97%, Broadcom fell 3.79%, and ASML dropped 4.83%. Various sub-sectors, including memory and semiconductor equipment, as well as chip design, faced simultaneous pressure. Additionally, Lam Research fell 9.78%, Lumentum dropped 9.24%, Coherent decreased by 11.81%, and the 3x Long Semiconductor ETF fell 17.09%.

  • Spot Gold Falls Below $4,050/Ounce for the First Time Since August 4

    Spot gold has fallen below $4,050 per ounce for the first time since August 4, with a daily decline of 2.19%.

  • Nasdaq Opens Down 1.55%, Meta Falls Over 4%

    U.S. stock indices opened lower, with the Dow Jones down 0.44%, the S&P 500 down 0.91%, and the Nasdaq Composite down 1.55%. Chip equipment manufacturer Lam Research provided a disappointing earnings outlook, causing its stock to open down over 9%. Following a reduction in spending plans, Tesla's stock fell by 2.8%. Meta dropped over 4%, with the company's future spending commitments totaling $825 billion. IBM also fell over 4%, reporting third-quarter revenue of $17.1 billion, a 4.7% year-over-year increase.

  • DeepSeek Raises Financing Target from 50 Billion to 100 Billion Yuan, Potentially Paving the Way for Sci-Tech Board IPO

    On October 22, market sources reported that domestic large model company DeepSeek plans to raise approximately 100 billion yuan (about 15 billion USD) in its latest financing round. Tencent and CATL are the largest investors in this round, with the transaction expected to be officially completed in the coming days. As of now, neither DeepSeek nor the related investors, including Tencent, have publicly responded. Journalists have cross-verified the information with multiple sources close to the company and investors, confirming its accuracy. Sources revealed that the initial fundraising target was set at 50 billion yuan, which has since been raised multiple times to approximately 100 billion yuan, although it has not been officially announced and the final amount is still not fully determined. The funds will continue to be used for model training, computing power construction, and talent recruitment to support DeepSeek's participation in global competition. Some sources also speculate that this round of financing will pave the way for the company's upcoming IPO on the Sci-Tech Board. (Shanghai Securities Journal)

  • Ethereum Researchers Propose Reducing Final Transaction Confirmation Time from 16 Minutes to Approximately 4 Minutes

    On October 22, Ethereum researchers proposed a draft for a rapid finality mechanism aimed at reducing the final transaction confirmation time from the current approximately 16 minutes to about 4 minutes, targeting an enhancement of around 4 times. The draft was submitted on Wednesday by Ben Edgington, the coordinator of the rapid finality research, and is still in the early stages, with no activation timeline determined yet. The proposal plans to split the validator voting for determining new blocks and finalizing historical blocks into two separate mechanisms, allowing for a faster pace of finality.

  • Visa Negotiates Acquisition of Fireblocks Valued at Approximately $2.5 Billion

    On October 22, Bloomberg reported that Visa is in talks to acquire the cryptocurrency custody infrastructure company Fireblocks, with a transaction valuation of approximately $2.5 billion. If the deal is finalized, it will further expand Visa's presence in the digital asset custody and blockchain payment infrastructure sectors. This information is yet to be confirmed, and specific terms and progress of the acquisition negotiations have not been disclosed.

  • US Spot Ethereum ETF Sees Net Inflow of $14.98 Million Yesterday

    On October 22, according to monitoring by Trader T, the US spot Ethereum ETF recorded a net inflow of $14.98 million yesterday.

  • Sonic to Transfer 13 Million S Tokens via Strategic OTC Agreement in Next 24 to 48 Hours

    On October 22, Sonic announced on the X platform that approximately 13 million S tokens will be transferred in the next 24 to 48 hours under a strategic over-the-counter (OTC) agreement. The counterparty is a long-term partner of Sonic, and both parties will collaborate to expand Sonic's reach and enhance user engagement through the partner's network.

  • Bank of Korea Maintains Interest Rate as Expected

    On October 22, the Bank of Korea kept the policy interest rate unchanged at 3%, in line with market expectations. Previously, South Korea raised interest rates in consecutive meetings in July and August.

  • U.S. Treasury Secretary Becerra: GENIUS Act Establishes Federal Regulatory Framework for Stablecoin Payments

    U.S. Treasury Secretary Scott Becerra stated that the GENIUS Act is a milestone in the American financial sector, further solidifying the U.S. position as a global cryptocurrency hub. He compared the bill to the National Currency Act signed by President Lincoln in 1863, asserting that it establishes a federal regulatory framework for stablecoin payments in the digital age. Becerra also mentioned that the final rules issued by the Office of the Comptroller of the Currency (OCC) will facilitate the implementation of the bill, providing a clear and pragmatic institutional foundation for private sector innovation, market competition, and maintaining U.S. leadership in the digital asset space.