https://ethglobal.com/showcase/bridgebuddy-36te1
![image](https://private-user-images.githubusercontent.com/72362902/293516535-8f1bd053-3da6-4d38-856b-b4625c2af139.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM4NzI4NzksIm5iZiI6MTcyMzg3MjU3OSwicGF0aCI6Ii83MjM2MjkwMi8yOTM1MTY1MzUtOGYxYmQwNTMtM2RhNi00ZDM4LTg1NmItYjQ2MjVjMmFmMTM5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE3VDA1MjkzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRhZThiZGI1MTIzYzQ1OGIxODA5MDNjNDNkMzU3ZjNlM2U5YTVlZGU3MTE5NTM3NGI5ZmUwYThhYmU1N2M2OWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.1_sIuTzc1cNDX5zpRqF_Sa3I83UBty3GZ3VB_kB1JUk)
This project is an EVM-compatible Browser Wallet, designed to enhance user experience by abstracting the complexities associated with managing assets across various EVM-compatible chains. It consolidates assets from different chains in a single interface, enabling seamless asset management. The wallet uses account abstraction to bridge funds automatically as needed for transactions, providing a simplified, unified view of all assets.
Below are the steps to set up the wallet:
- This wallet employs Hyperlane HypERC20 Tokens for bridging operations.
- You have the option to deploy these tokens using the Hyperlane CLI.
- Alternatively, you can use the tokens that we deployed. Find the addresses of these tokens in
info/tokens.json
.
For providing a seamless user experience, we've integrated Safe Account Abstraction. This feature allows for complex interchain transactions with a single user authorization.
- To start, you'll need a Safe Wallet on every chain with which the wallet will interact.
- Wallets can be created through the Safe Global App.
Our own deployed modules on goerli, basegoerli, celo and base can be used instead. The addresses can be found in /info/modules.json and /info_mainnet/modules.json
If using our modules they only needed to be added to the safes
- Once the wallets are set up, you need to integrate custom logic into each to enable interchain function calls.
- Our custom module developed during the hackathon is available at
safe_module/src/WalletAbstraction.sol
. - This module must be manually deployed to each Safe Account on every chain. Afterwards, add it utilising the dev_create_safe/add_module_*.ts files
- Call the function "addRemoteModule" with the chain id of the remote modules and the address of the module on that chain
To use this wallet, you'll need to install it as a Chrome extension.
- Build the extension:
cd chromeExtension
npm run build
- Enable Chrome Developer Mode to install the extension.
All deployed contracts can be found in various jsons in the info and info_mainnet folders.