Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 3.11 KB

README.md

File metadata and controls

68 lines (47 loc) · 3.11 KB

Gopher Router

Send funds from multiple accounts and networks in a single click.

Problem: You want to pay for something with your wallet, but your funds are spread across multiple accounts and multiple networks.

Problem: You want to send funds to a new wallet on a different network, but you'd have to bridge from multiple domains. And you don't know how to get it all there.

Problem: You want to remove exposure to a particular asset, which you're holding on multiple accounts and networks.

The problem of cross-chain UX is that users are made painfully aware of what it means to take funds cross-chain.

Gopher aggregates your tokens so that you can work with your cumulative balance. If you do not have enough funds in a single wallet, Gopher looks for balances of the same asset in other accounts and sends it to the desired account and network for you, at the cheapest cost.

For example, if you want to send 1 ETH to Scroll but you only have 0.5 ETH on Arbitrum and 0.5 ETH on Optimism, you use Gopher to end up with 1 ETH on Scroll in a single click. Your transactions will be fulfilled by the most cost-effective route and bridges at that time.

Gopher is not only for going cross-chain, you can use it to sweep all funds on the same chain to a new wallet. Gopher works for both EOA and Safe multisig wallets.

Demo

Add link from showcase.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

Eth Global Information

Safe App

  • Run the app, and open it at http://localhost:3000
  • Go to Safe Website
  • Navigate to apps > My Custom Apps > Add Custom Safe App
  • In the URL enter http//localhost:3000 follow the prompts and play around!

From the demo

First set of transactions

Connext: OPGoerli -> Goerli

Goerli -> Goerli

Second Transaction

From BaseGoerli -> BaseGoerli

Axelar Prize Info:

Gopher uses Axelar to generate routes, gas quotes and send tokens cross-chain. Axelarscan Link Using GMP with WETH was challenging. In the end, using a deposit address and sending tokens via SDK was the way to go for this hack.

2 positive experiences using Axelar:

  • SDK is pretty well done.
  • Faster finality than other bridges.

2 negative experiences using Axelar:

  • The docs need improvement
  • Was more expensive than other bridges.