Giter VIP home page Giter VIP logo

bridgebuddy's Introduction

CREATED FOR ETHGLOBAL ISTANBUL

https://ethglobal.com/showcase/bridgebuddy-36te1

image

Project Setup Guide

General

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:

1. Hyperlane

1.1. Deploy HypERC20 Interchain Tokens

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

2. Safe Core

For providing a seamless user experience, we've integrated Safe Account Abstraction. This feature allows for complex interchain transactions with a single user authorization.

2.1. Deploy Safe Wallet

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

2.2. Deploy Custom Module

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

3. Set Up Extension

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.

Deployed Contracts

All deployed contracts can be found in various jsons in the info and info_mainnet folders.

bridgebuddy's People

Contributors

patrick-hacks avatar lorbke avatar pauldev20 avatar

Stargazers

 avatar Jaimin Patel avatar Charan V avatar h1ke_the_w0rld avatar wshino avatar Shun Kakinoki avatar

Watchers

h1ke_the_w0rld avatar  avatar

Forkers

dinaris

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.