https://github.com/terra-money/bridge-web-app
🪐 Terra Bridge web app
https://github.com/terra-money/bridge-web-app
blockchain bridge cosmos ethereum keplr metamask station terra
Last synced: 5 months ago
JSON representation
🪐 Terra Bridge web app
- Host: GitHub
- URL: https://github.com/terra-money/bridge-web-app
- Owner: terra-money
- License: apache-2.0
- Created: 2021-02-18T06:16:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-01T15:34:06.000Z (11 months ago)
- Last Synced: 2024-11-01T16:26:45.299Z (11 months ago)
- Topics: blockchain, bridge, cosmos, ethereum, keplr, metamask, station, terra
- Language: TypeScript
- Homepage: https://bridge.terra.money
- Size: 5.84 MB
- Stars: 81
- Watchers: 28
- Forks: 83
- Open Issues: 88
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terra Bridge Web App

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](https://setup.station.money/) |
| Ethereum | [MetaMask](https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn?hl=en), [CoinBase](https://wallet.coinbase.com/) or [Trustwallet](https://trustwallet.com/) for [WalletConnect](https://walletconnect.org/) |
| BSC | [Binance Chain Wallet](https://chrome.google.com/webstore/detail/binance-chain-wallet/fhbohimaelbohpjbbldcngcnapndodjp?hl=en) or [MetaMask](https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn?hl=en) |## Instructions
1. Install dependencies
```bash
$ npm install
```2. Run Bridge
```bash
$ npm start
```## Add a new IBC network
1. Update `src/types/network.ts`:
Add the chain to BlockChainType, IbcNetwork, isIbcNetwork, ibcChannels, ibcPrefix and allowedCoins
2. Update `src/consts/network.ts`:
Update blockChainImage and blockChainName
3. Add the chain in `src/pages/Send/BlockChainNetwork.tsx`:
Add the chain in the TO SelectBlockchain's array
4. (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](./LICENSE).
© 2021 Terra Bridge Web App