Giter Club home page Giter Club logo

hardfork's Introduction

Steps to run the project

  1. install dependencies for smart contracts
npm i
  1. Deploy smart contracts. Ex -
truffle deploy --network development
  1. Copy Address of deployed contracts to React app (in file web3Provider.js)

    update contractAddress (Counterfeit Contract) and buyAddress (Buy Contract)

  2. Update nodeUrl and chainId (in file web3Provider.js)

  3. Install React app dependencies

cd app
npm i
  1. Run React app
cd app
npm start
ABI of smart contracts are stored in file abi.js in react app

Team Name - HardFork

forge logo

๐Ÿ”ฅ Forge

We are working on a blockchain based decentralized web application to fight product counterfeiting. This app help the consumers to don't rely on the the word of the mouth of the seller but the product itself.

Technology Stack

  1. Solidity
  2. React
  3. Web3.js
  4. Truffle
  5. Portis
  6. Matic
  7. Infura

Functionalities

Owner Functionalities:

  1. Add Product.
  2. Sell Product to seller.
  3. Transfer Ownership to Other account
  4. Buy/Verify the product as a consumer

Seller Functionalities:

  1. Sell Product to another seller.
  2. Register themselves as a seller.
  3. Buy/Verify the product as a consumer

Consumer

  1. Verify the product whether it is genuine or fake by scanning the QR-Code or Product ID.
  2. Buy Product.

Get the details

verified-product

Case of fake product

verified-product

  1. Add Product add-product
  2. Product List product-list
  3. Seller registration form. register-as-seller

hardfork's People

Contributors

anas40 avatar arifa99 avatar gauharayub avatar skamranahmed avatar

Stargazers

 avatar  avatar

Forkers

divyanshu9151

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.