osmosis-frontend icon indicating copy to clipboard operation
osmosis-frontend copied to clipboard

Bridge Integration

Open jonator opened this issue 3 years ago • 3 comments

Requirements

V1

  • [ ] Metamask
  • [ ] Wallet connect (for mobile users)
  • [ ] ~~Network selection (Ethereum, Solana)~~
  • [ ] Replace sourceChainNameOverride with info in originBridgeInfo

jonator avatar Jun 23 '22 15:06 jonator

Eth wallet connect logic

  • Add connect Ethereum wallet logic (MetaMask + WalletConnect)
  • Verify correct network / switch to correct network as needed

AxelarJS SDK

Tx broadcast

  • TBD

Transfer Status (Optional)

  • User Axelarscan API to provide up-to-date info on status of bridge deposit/withdrawal CleanShot 2022-06-24 at 16 30 19

dogemos avatar Jun 24 '22 07:06 dogemos

Performance

Given the likely large size of the ethereum packages, it would be nice to code split and only load the ethereum bundle when an ethereum bridge modal is first opened. Same for axelarjs.

jonator avatar Jun 24 '22 13:06 jonator