project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

OmniGas

OmniGas is an Smart Wallet that uses Biometric passkeys as private key. It allows users to select their favorite token to pay blockchain fees.

OmniGas

Created At

ETHOnline 2024

Winner of

LayerZero - Most Innovative Omnichain Solution 1st place

Project Description

This project aims to address the user experience challenges associated with traditional Web3 wallets by developing a more intuitive and versatile smart wallet solution. The primary goal is to simplify the complexities of blockchain interactions while maintaining robust security and expanding functionality.

Key Features

1 - ERC-4337 Implementation: Adopts the ERC-4337 standard for account abstraction, enhancing wallet flexibility and user experience.

2 - Biometric Authentication: Utilizes WebAuthn for biometric signatures, replacing the traditional 12-word seed phrase. Enhances security while simplifying the user authentication process.

3 - Flexible Gas Fee Payment Options: Supports multiple payment methods for transaction fees: Native blockchain tokens, ERC-20 tokens on the same blockchain, ERC-20 tokens from different blockchains (cross-chain functionality), Sponsored transactions (gasless for the end-user)

4 - WalletConnect Integration: Enables seamless connection to decentralized applications (dApps) using the WalletConnect protocol.

5 - Direct DeFi Interactions: Built-in integration with popular DeFi platforms like Aave, allowing users to interact directly from the wallet interface.

6 - Cross-Chain Compatibility: Designed to work across multiple blockchain networks, simplifying the management of assets on different chains.

7 - User-Centric Design: Focuses on maintaining a simple, intuitive interface while providing access to advanced blockchain features.

Project Goals:

  • Simplify the onboarding process for new users entering the blockchain space.
  • Enhance security through biometric authentication, reducing the risk of lost or stolen private keys.
  • Provide a versatile solution for gas fee payments, accommodating various user preferences and token holdings.
  • Create a seamless experience for interacting with dApps and DeFi protocols.
  • Offer cross-chain functionality without overwhelming users with technical complexities.

In summary, this smart wallet project combines cutting-edge blockchain standards (ERC-4337) with user-friendly technologies like biometric authentication and flexible payment options. It aims to unlock the full potential of blockchain technology for users while maintaining a simple, accessible interface. By addressing key pain points in current wallet solutions, this project seeks to accelerate blockchain adoption and improve the overall user experience in the Web3 ecosystem.

How it's Made

My project leverages the ERC-4337 implementation from OpenZeppelin, with custom modifications to enable biometric signatures as private keys with WebAuthn. This innovative approach allows for enhanced security and user-friendly authentication across multiple blockchains.

Key Technologies

  1. Smart Account Deployment

    • Utilizes CREATE2 opcode for deterministic address generation
    • Ensures the same wallet address across different blockchains
  2. Transaction Execution

    • Supports standard transactions (e.g., token transfers)
    • Enables interaction with DeFi protocols (e.g., Aave contracts)
    • Transactions are routed through the blockchain's EntryPoint contract
  3. Flexible Gas Payment Options

    • Native token
    • ERC20 tokens
    • Omnichain ERC20 tokens
    • Full sponsored
  4. Advanced Paymaster Integration

    • Handles gas fees in native tokens
    • Withdraws equivalent amount from the user's wallet using safeTransferFrom
  5. Cross-Chain Gas Payment

    • Utilizes LayerZero technology for omnichain transactions
    • Encodes necessary parameters in ABI format to send it across chains
    • Executes safeTransferFrom function on the destination chain\

Technical Implementation

  1. Biometric Signature Integration

    • Modified OpenZeppelin's ERC-4337 implementation
    • Replaced traditional private key authentication with biometric data
  2. Cross-Chain Compatibility

    • Implemented CREATE2 for consistent address generation
    • Ensures seamless user experience across multiple blockchains
  3. Gas Abstraction

    • Custom Paymaster contract to handle various token types for gas fees
    • Integration with LayerZero for cross-chain message passing and execution
  4. Smart Contract Interactions

    • Direct integration with popular DeFi protocols (e.g., Aave)
    • Flexible architecture to support future protocol integrations

Innovative Aspects

  1. Biometric authentication for blockchain transactions
  2. Unified wallet experience across multiple chains
  3. Flexible gas payment options, including omnichain tokens
  4. Seamless integration with existing DeFi ecosystems
background image mobile

Join the mailing list

Get the latest news and updates