project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

BAILOUT

A security pipeline that securely moves assets between EOA, Contract Wallet, and Cold Wallet.

BAILOUT

Created At

ETHGlobal Tokyo

Winner of

πŸŠβ€β™‚οΈ Polygon β€” Pool Prize

πŸ₯ˆ Lit β€” Best Use

πŸ† ETHGlobal Tokyo Finalist

Project Description

Bailout is a security pipeline that securely moves assets between EOA, Contract Wallet, and Cold Wallet. In order for individual investors to securely handle EOAs such as MetaMask, Bailout provides Contract Wallet where main assets can be stored and the function to eject assets to Cold Wallet with a single click even in case of loss of the private key.

Many smart contract wallets have appeared, including Argent and Safe, but the dApp side, such as Uniswap, does not support these wallet connections, so many individual investors end up using Conventional EOA, such as MetaMask, as their main account and place many assets in Cold Wallet or Safe.

Bailout is a pipeline function that

  • easily transfers a certain amount of assets from EOA to a secure Smart Contract Wallet that can be signed with EOA and Google Signin
  • and in the event of an emergency, such as losing the EOA private key or losing the device, you can escape all your assets to Cold Wallet at the touch of a button without gas fee with any wallet This makes everyday asset management smoother and more secure, and minimizes the damage caused by the loss of the private key.

How it's Made

Bailout was built using a variety of technologies, including ERC-4337, Lit Protocol, Lens API and MetaMask Snaps.

  • 2 Factor Authentication(Multisig)
    Lit PKPs are used to create private key-less MPC wallets that utilize Google authentication for 2FA. The MPC wallet's ETH address is then set as the 2FA address.

  • Gasless Social Recovery
    The social recovery function utilizes Lit Actions and PKPs to allow a PKP to sign a transaction only if specific guardians react to a specific publication. The transaction then calls a function on the AA contract that moves all funds to the escaped address. If you fund the PKP in advance, you can execute the social recovery function gaslessly. We use Lens publication and users as social recovery guardians. On the Lit Action, the program gets the list of users who have reacted to the publication of Lens Protocol.

We attempted to utilize MetaMask Snaps to improve UX in Bailout. However, we had a trouble with connecting to Snap, so we implemented all logics outside of Snap environment.

The application is deployed on Polygon Mumbai.

background image mobile

Join the mailing list

Get the latest news and updates