All Projects → renproject → bridge-v2

renproject / bridge-v2

Licence: MIT license
An easy way to bridge cross-chain assets between blockchains.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to bridge-v2

Smart-Contract-Security-Audits
Certified Smart Contract Audits (Ethereum, Hyperledger, xDAI, Huobi ECO Chain, Binance Smart Chain, Fantom, EOS, Tezos) by Chainsulting
Stars: ✭ 325 (+269.32%)
Mutual labels:  defi, binance-smart-chain
coinmarketcap-new-listings-sniper-bot
Sniper bot to buy new tokens listed on Coinmarketcap.
Stars: ✭ 55 (-37.5%)
Mutual labels:  defi, binance-smart-chain
Blockchain-Alpha
Alpha from various sectors in the blockchain space.
Stars: ✭ 102 (+15.91%)
Mutual labels:  defi
Rabby
The game-changing wallet for Ethereum and all EVM chains
Stars: ✭ 562 (+538.64%)
Mutual labels:  defi
conceal-desktop
Conceal Desktop (GUI)
Stars: ✭ 65 (-26.14%)
Mutual labels:  defi
airswap-web
AirSwap Web App
Stars: ✭ 94 (+6.82%)
Mutual labels:  defi
defi-ls
Ethereum DeFi Language Support for VS Code
Stars: ✭ 33 (-62.5%)
Mutual labels:  defi
challenge
Solidity Engineer Challenge
Stars: ✭ 94 (+6.82%)
Mutual labels:  defi
synthetix-js
[deprecated] Please use https://github.com/Synthetixio/js-monorepo/tree/master/packages/contracts-interface
Stars: ✭ 63 (-28.41%)
Mutual labels:  defi
prettier-config-solidity
Prettier config optimized to reduce AST churn & conform to solidity spec
Stars: ✭ 28 (-68.18%)
Mutual labels:  defi
Acria-Oracle-Node-Qt
Acria Oracle Node Client implemented in C++/Qt
Stars: ✭ 15 (-82.95%)
Mutual labels:  binance-smart-chain
mev-inspect-rs
Discover historic Miner Extractable Value (MEV) opportunities
Stars: ✭ 443 (+403.41%)
Mutual labels:  defi
frontend-v2
Frontend app for the Balancer protocol
Stars: ✭ 127 (+44.32%)
Mutual labels:  defi
app-ui
DEUS app front-end
Stars: ✭ 20 (-77.27%)
Mutual labels:  defi
ultimate-defi-research-base
Here we collect and discuss the best DeFI & Blockchain researches and tools. Feel free to DM me on Twitter or open pool request.
Stars: ✭ 1,074 (+1120.45%)
Mutual labels:  defi
bsc-alpaca-contract
Smart Contracts for Alpaca Finance on Fantom & BNB Chain
Stars: ✭ 154 (+75%)
Mutual labels:  defi
bscscan-python
The most popular asynchronous Python API for BscScan (Binance Smart Chain Explorer), available via PyPI.
Stars: ✭ 260 (+195.45%)
Mutual labels:  binance-smart-chain
saddle-contract
The smart contracts behind saddle.finance 🤠
Stars: ✭ 121 (+37.5%)
Mutual labels:  defi
alcor-ui
Alcor Exchange | First self-listing onchain DEX for eosio tokens;
Stars: ✭ 103 (+17.05%)
Mutual labels:  defi
defi-dapps-solidity-smart-contracts
This is a Web 3 Smart Contract learning and teaching repo which will be used to teach students all across Pakistan.
Stars: ✭ 241 (+173.86%)
Mutual labels:  defi

ren bridge v3

An easy way to bridge cross-chain assets between blockchains.

bridge

Development guide

.env

Copy .env.example into .env and add missing environment variables. Bridge uses Infura internally, so you'll need to go to infura.io, create a key and set REACT_APP_INFURA_ID in the .env file.

yarn

Ensure the dependencies are installed by running yarn.

Available commands:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn start-functions

Runs netlify functions in the development mode.
Open http://localhost:9999 to view it in the browser.

yarn test

Launches the test runner in the interactive watch mode.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.

Updating translations

To update the translations, you need to:

  1. Add a CROWDIN_PERSONAL_TOKEN, CROWDIN_PROJECT_ID in your .env.
  2. Install the crowdin CLI. You can do that with npm i -g @crowdin/cli.

You can then update en.json and upload the changes to Crowdin with crowdin upload. After community translations are ready, run crowdin download to download and substitute translations in the locales folder.

Alternatively you can use i18next-parser to scan files for newly added keys and update en.json file. If installed, run

yarn run scan

Architecture

The app was build on top of CRA, Material-UI with redux-toolkit for shared state management.

The core RenVM libraries on which the application is built are as follows:

@renproject/multiwallet-ui - provides extensible wallet selection, connection and management features for React apps. It comes together with default UI, but can be adapted to any React UI framework.

@renproject/ren - RenJS is the core library for interacting with RenVM.

Forking

You are free to fork this app and adapt/extend it to your needs.

git clone https://github.com/renproject/bridge-v2.git

Requirements

RenBridge requires an Infura key provided as an environment variable. You can create one by going to infura.io. If another Ethereum provider is being used, it can be changed in Multiwallet.tsx.

Changing visual appearance

Most of the visual - related configuration lies in a theme folder. To find out how to style Material UI, check this link. Icons, logos and other images can be found in assets folder.

Deploying

Any static hosting site can be used, such as GitHub pages, Netlify or Cloudflare pages, or on IPFS through a service like Fleek.

For GitHub pages, instructions can be found here: https://create-react-app.dev/docs/deployment#github-pages.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].