← Back to home

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.

Screenshots

OmniGas screenshot 1
OmniGas screenshot 2
OmniGas screenshot 3
OmniGas screenshot 4
OmniGas screenshot 5
OmniGas screenshot 6

Problem Statement

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 Features1 - 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.

Solution

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 TechnologiesSmart Account DeploymentUtilizes CREATE2 opcode for deterministic address generationEnsures the same wallet address across different blockchainsTransaction ExecutionSupports standard transactions (e.g., token transfers)Enables interaction with DeFi protocols (e.g., Aave contracts)Transactions are routed through the blockchain's EntryPoint contractFlexible Gas Payment OptionsNative tokenERC20 tokensOmnichain ERC20 tokensFull sponsoredAdvanced Paymaster IntegrationHandles gas fees in native tokensWithdraws equivalent amount from the user's wallet usingsafeTransferFromCross-Chain Gas PaymentUtilizes LayerZero technology for omnichain transactionsEncodes necessary parameters in ABI format to send it across chainsExecutessafeTransferFromfunction on the destination chain\Technical ImplementationBiometric Signature IntegrationModified OpenZeppelin's ERC-4337 implementationReplaced traditional private key authentication with biometric dataCross-Chain CompatibilityImplemented CREATE2 for consistent address generationEnsures seamless user experience across multiple blockchainsGas AbstractionCustom Paymaster contract to handle various token types for gas feesIntegration with LayerZero for cross-chain message passing and executionSmart Contract InteractionsDirect integration with popular DeFi protocols (e.g., Aave)Flexible architecture to support future protocol integrationsInnovative AspectsBiometric authentication for blockchain transactionsUnified wallet experience across multiple chainsFlexible gas payment options, including omnichain tokensSeamless integration with existing DeFi ecosystems

Hackathon

ETHOnline 2024

2024

Prizes

  • 🏆

    Most Innovative Omnichain Solution1st place

    LayerZero

Contributors