Case Study

Infinex

Oct 15, 2024

·

2 min read

Challenge

Infinex, a platform providing access to onchain protocols across multiple blockchains, faced a significant challenge in ensuring seamless and secure cross-chain operations for its users, specifically:

  1. Users risked losing access to their funds if they lost their passkey for assets on non-Base EVM chains.
  2. Traditional methods of syncing state across different chains were slow and inefficient, taking up to seven days for optimistic rollups.
  3. The need for active interaction from the source chain in traditional bridging methods added complexity and potential security risks.
  4. Recovering non-USDC funds stuck on non-Base EVM chains was problematic.

These issues posed significant risks to use funds and hindered the seamless multichain experience Infinex aimed to provide.

Solution

Infinex integrated Wormhole Queries to address these challenges, implementing a comprehensive solution for cross-chain asset recovery. Wormhole Queries is an advanced cross-chain communication protocol that allows smart contracts to securely read and verify state from other chains, enabling fast and efficient cross-chain verifiable data attestation without compromising on security or decentralization.

Infinex leverages the capabilities of Wormhole Queries in several key ways to enhance its cross-chain asset recovery process:

  1. Cross-Chain State Reading: Wormhole Queries enables Infinex to read the state from Base and verify it on destination chains in a single transaction, eliminating the need for slow native bridge processes.
  2. Efficient State Syncing: By leveraging Wormhole Queries, Infinex can sync the funds recovery address quickly and securely, without requiring an active interaction from the source chain.
  3. Secure Verification: Wormhole Queries provides crucial security guarantees including finality, timestamp verification, contract and call verification, and data structure validation of the return type.
  4. Single-Transaction Recovery: Users can now recover their funds across multiple chains in a single transaction on the destination chain, significantly speeding up the recovery process.
  5. Enhanced Non-USDC Recovery: Wormhole Queries allows Infinex to extend its recovery capabilities to non-USDC funds on non-Base EVM chains, broadening the scope of recoverable assets.

This implementation of Wormhole Queries enables Infinex to securely execute a function to sync the funds recovery address from Base with a trusted keeper, providing a robust and efficient solution for cross-chain asset recovery.

Results

The most immediate impact of Wormhole Queries on Infinex is enhanced user security and peace of mind. Infinex users now have a robust mechanism to recover their funds across multiple chains, even in the event of losing their passkey. This feature significantly reduces the risk of permanent fund loss, a critical concern in the crypto space. The efficiency of the recovery process has been dramatically improved. What one could take up to seven days using traditional bridging methods now happens in a single transaction. This speed not only enhances user experience but also reduces the window of vulnerability during the recovery process.

By enabling the recovery of non-USDC funds on non-Base EVM chains, Infinex has expanded the utility of its platform. Users can now interact with a wider range of assets across multiple chains with the assurance that their funds are recoverable, potentially encouraging more diverse onchain activities. The implementation of Wormhole Queries has also positioned Infinex at the forefront of cross-chain interoperability. By solving a critical issue in multichain operations, Infinex demonstrates its commitment to creating a seamless and secure cross-chain experience.

Infinex

Infinex provides access to onchain protocols, services, and applications. It is non-custodial, using a novel security architecture centered around onchain smart accounts and passkeys. Infinex currently supports six EVM and non-EVM chains, including Solana, Base, and Arbitrum. Infinex is designed to replace centralized platforms as the primary point of interaction for crypto users.