This repo contains the entire bridging app from frontend to the backend and surely the contracts
These are the things that you'll get:
- ETK (Token on ethereum chain)
- BTK (Token on binance chain)
- ETHBridge (Bridge on ethereum chain)
- BSCBridge (Bridge on binance chain)
- git
- yarn
- npx
- Solidity
- Hardhat
- Typescript
- Eslint
- Chai
- Prettier
- Typechain
- Openzeppelin
- Ethers
- Waffle
- Solhint
- Typescript
- ReactJS
- Toast
- Jest
- Axios
- Usedapp
- Fontawesome
- Typescript
- dotenv
- Winston
- express
- ts-node
- typechain
- cors
Wanna contribute? Cool! Fork the repo and run the following commands for the following folders based on which part you want to contribute for
Install the dependencies
yarnCompile the contracts
yarn compileRun the test suite
yarn testRun the entire coverage test
yarn coverageTesting a specific file
yarn test test/<test-file-name>Install the dependencies
yarnStart the dev server
yarn startRunning tests for components
yarn testCreate a prod build
yarn buildInstall the dependencies
yarnStart the dev server
yarn devCreating a build set
yarn buildStarting the build server
yarn startGenerating the types based on abis
yarn generateUtility Script Inside Bridge-Contracts
Note: The following script copies the abis from contracts folder to backend and frontend respectively. When you want to generate types based on the abis, make sure to extract out the json file
Copying the abi's
cd Bridge-Contracts
ts-node fileTransfer.ts