Skip to content

terra-money/bridge-web-app

Repository files navigation

Terra Bridge Web App

banner

The Terra Bridge is a web frontend that allows users to easily send Terra assets across supported blockchains via their respective bridges.

Users can connect their wallets to the Terra Bridge web app through a browser plugin for Chromium-based web browsers, as shown below:

Blockchain Supported Wallets
Terra Station Extension
Ethereum MetaMask, CoinBase or Trustwallet for WalletConnect
BSC Binance Chain Wallet or MetaMask

Instructions

  1. Install dependencies
$ npm install
  1. Run Bridge
$ npm start

Add a new IBC network

  1. Update src/types/network.ts:

Add the chain to BlockChainType, IbcNetwork, isIbcNetwork, ibcChannels, ibcPrefix and allowedCoins

  1. Update src/consts/network.ts:

Update blockChainImage and blockChainName

  1. Add the chain in src/pages/Send/BlockChainNetwork.tsx:

Add the chain in the TO SelectBlockchain's array

  1. (optional) Add the chain token to the assets list:

Make a PR to https://github.com/terra-money/assets/blob/master/ibc/tokens.js and add the chain native token, it's necessary if you want to send the token back to it's native chain

License

This software is licensed under the Apache 2.0 license. Read more about it here.

© 2021 Terra Bridge Web App