Coder Social home page Coder Social logo

josedpv / files-validation-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from symfoni/hardhat-react-boilerplate

0.0 0.0 0.0 3.01 MB

Write smart-contracts that are typed, deployed, instantiated and connected to provider in React app.

Solidity 3.44% TypeScript 71.69% HTML 11.39% CSS 6.16% JavaScript 7.27% Shell 0.06%

files-validation-system's Introduction

Files Validations Systems

Developed by the Blockchain Paladins ⚔️ 🛡️

  • Diego Karabin
  • José Pérez
  • Juan Miguel Sanchez Mola

Instructions

  1. Clone the repo and cd into it git clone https://github.com/DiegoKarabin/files-validation-system.git && cd files-validation-system
  2. Install deps with yarn yarn or npm npm install
  3. Copy the .env.example file and fill your mnemonic in the MNEMONIC variable to use your metamask accounts when using the local network.

cp .env.example .env

  1. Start hardhat yarn hardhat:node

This project supports Binance Smart Chain to develop to testnet use this:

yarn hardhat:deploy --network bscTestnet

To deploy to mainnet use this:

yarn hardhat:deploy --network bscMainnet

  1. Open up a new terminal
  2. Enter the frontend directory: cd frontend
  3. Install dependencies: npm install
  4. If you are using a local network. Ensure Metamask RPC is set to http://localhost:8545 and chainID 31337.
  5. Start the React app: yarn start

The app also can be started from the root folder with:

yarn frontend

The frontend should open at http://localhost:3000/

Because of this default hardhat.config.ts it will first try to connect with an injected provider like Metamask (web3modal package does this).

If nothing found it will try to connect with your hardhat node. On localhost and hardhat nodes it will inject your mnemonic into the frontend so you have a "browser wallet" that can both call and send transactions. NB! Dont ever put a mnemonic with actual value here.

files-validation-system's People

Contributors

diegokarabin avatar ramvi avatar robertosnap 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.