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

HyperWallet

HyperWallet is a chain abstracted wallet powered by Hyperlane

HyperWallet

Created At

ETHGlobal Singapore

Winner of

Hyperlane - Best Use of Hyperlane

Project Description

HyperWallet is a chain abstracted wallet that empowers users to interact with multiple blockchains using Interchain Accounts.

Users only need to transaction on one chain but can manage assets and permissions across many chains. This enables easy onboarding of users to new chains especially as Hyperlane supports self-deployment on many L2s.

Key Features

  • Chain Abstraction: Interact with various blockchains without the need to manually switch networks or manage multiple wallets.
  • Cross-Chain Transactions: Send and receive assets across different chains using cross-chain messaging protocols.
  • User-Friendly Interface: UI that caters to both beginners and experienced users.
  • Developer Integration: Easy integration for dApps, with support for popular tools like Viem

Use Cases

  • Managing Certificates and Attestations on Multiple Chains In a multichain paradigm, certain verifiers may prefer that your certificates and attestations exist and data be executable on a specific chain, rather than managed via crosschain message passing or bridging. Data availability on the same chain as other smart contracts, enables simpler implementation of on-chain logic. However, if multiple copies of the same certificate need to be updated or revoked on multiple chains, switching to each chain to perform the action would be cumbersome
  • Executing a DeFi Strategy or Managing Staking Across Multiple Chains Advanced traders with portfolios and assets across multiple chains would benefit from the added simplicity, provenance, and traceability when executing a strategy or changing a stake on multiple chains.
  • Chains Optimized for Wallet Operations A single chain can be optimized for identity, wallets, and cross-chain connections, which ultimately attracts more developers to create a robust ecosystem for wallet innovation and tools.
  • DAO Voting on Another or Multiple Chains It’s quite costly, if not impossible to migrate the approval logic of DAOs, however in many cases a DAO may exist on a different chain than the identity that wishes to vote.

How it's Made

We used a combination of existing tech from sponsors, industry standard libraries, and new innovations we quickly developed to power HyperWallet. The goal was to quickly get an MVP that can interact with any DApp on Scroll while relaying messages from an EOA on Binance Smart Chain using Hyperlane.

Existing Tech

  • Hyperlane Network & Contracts: Hyperlane Network connects many popular chains (in our demo we use BsC & Scroll). We used the new Interchain Accounts (https://docs.hyperlane.xyz/docs/reference/applications/interchain-account) contracts to enable users to manage wallets cross-chain.
  • Viem: Modern web3 sdk. We adapter Hyperlane to work with this.
  • Anvil: Employed for local testing of transactions and smart contracts, ensuring the reliability and robustness of the wallet's functionality. Helped debug the hyperlane CLI.

New Tech

  • Hyperlane Viem Interfaces: Simple ESM Compatible Artifacts for Hyperlane Contracts. Codegenerated with https://github.com/owlprotocol/hyper-wallet/tree/main/packages/hyperlane-contracts/src/codegen
  • Hyperlane Utils: Utils for computing Hyperlane ICA addresses. https://github.com/owlprotocol/hyper-wallet/blob/main/packages/hyperlane-contracts/src/InterchainAccountRouter.ts
  • Viem Wallet Actions: Custom wallet actions that mimic a viem wallet client https://viem.sh/docs/clients/wallet (similar to permissionless for AA). Extended to handle chain abstraction, compute addresses using create2, and encode cross-chain transactions, making the wallet chain-agnostic and easy to use for developers and users. https://github.com/owlprotocol/hyper-wallet/tree/main/packages/hyperlane-contracts/src/actions/ica
  • Forked WalletConnect React Wallet V2: We forked this example and patched it to integrate our HyperWallet viem walletClient extension https://github.com/owlprotocol/hyper-wallet/blob/main/packages/react-wallet-v2/src/lib/EIP155ViemLib.ts
background image mobile

Join the mailing list

Get the latest news and updates