Giter VIP home page Giter VIP logo

erc20-bridge-frontend's Introduction

๐Ÿ—„ Project description, structure and functionalities

Bridge Backend: https://github.com/ilchovski98/ERC20-bridge-backend Bridge Smart Contract: https://github.com/ilchovski98/ERC20-bridge-smart-contract

Project uses React.js and it's bootstraped via Create React app.

Folders and files

  • .vscode - Some VSCode settings
  • public - Public folder for assets like fonts and images
  • src - Source code for the app, here is all the logic and functionalities
    • abi - Compiled json files by the contracts, used for contract interaction with ethers.js
    • components - React.js component files containing logic for specific behaviours, see more detials below
    • hooks - React hooks containing functionalities that will be used on multiple places across the app and provide easy interface
    • pages - Pages components defining the high level app information architecture
    • services - Ready methods for the interaction with api endpoints and gathering blockchain data
    • style - scss styling files, see more details below
    • utils - some helpers functions
    • config.js - hardcoded values for the used chains and ERC20 tokens
    • index.js - initial point for boostraping the react.js project

For styling the app, we use sightly extended Bootstrap 5 version with scss. All the needed style variables are in src/style/_variables.scss and new styles can be added in src/style/components

Porject Startup

  1. Create .env file according to the .env.example
  2. Add your desired hardcoded values in src/config.js for your desired tokens and chains
  3. Run yarn start

erc20-bridge-frontend's People

Contributors

ilchovski98 avatar

Stargazers

 avatar Rumena Staneva avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.