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
yarn
Compile the contracts
yarn compile
Run the test suite
yarn test
Run the entire coverage test
yarn coverage
Testing a specific file
yarn test test/<test-file-name>
Install the dependencies
yarn
Start the dev server
yarn start
Running tests for components
yarn test
Create a prod build
yarn build
Install the dependencies
yarn
Start the dev server
yarn dev
Creating a build set
yarn build
Starting the build server
yarn start
Generating the types based on abis
yarn generate
Utility 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