Video thumbnail

Revix - ZK ❤️ 7702

Restore access to wallet using combination of EIP-7702 and passport proofs

Revix - ZK ❤️ 7702

Created At

ETHGlobal Cannes

Project Description

This project combines EIP-7702 and Passport proofs to enable the recovery of a lost wallet using your passport. The user begins by converting their EOA (Externally Owned Account) into a Smart Account. This is done by attaching a specific contract connected to Self Protocol, which gathers data about the passport holder and a unique application identifier. This identifier will be used later to identify the user. The user completes this step by connecting their embedded wallet on our frontend. Next, they need to scan a QR code generated by Self Protocol to bind their passport identifier to their EIP-7702. Once the passport is bound, if the user loses access to their previous wallet, they can initiate the recovery process. During this process, the user must prove ownership of the passport that was bonded to the account. If successful, a new signer is attached to the account, allowing them to withdraw funds from the old address.

How it's Made

We're using Self Protocol to obtain passport proofs and generate unique user identifiers based on their passports. To simplify the login process and interaction with EIP-7702, we're leveraging Privy embedded wallets. For the frontend, we've used React along with the Self Protocol SDK to generate QR codes. Our contracts were deployed to the Celo Alfajores testnet, as EIP-7702 is not yet supported on the mainnet.

background image mobile

Join the mailing list

Get the latest news and updates