GithubHelp home page GithubHelp logo

joiyad / trustmed Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 934 KB

An anti counterfeit system using blockchain

Home Page: https://trustmed.netlify.app/

HTML 3.53% JavaScript 71.34% Solidity 13.86% SCSS 11.27%

trustmed's Introduction

Trustmed: An Anti Counterfeit System Using Blockchain

Trustmed

Table of Contents

About

  • How can you tell if a thing you are buying is real in the modern world?
  • The supply chain has been using RFID (Radio Frequency IDentification) technology for anti-counterfeiting measures for more than a decade.
  • This project proposes an idea of a new supply chain system using blockchain to reduce counterfeit products.

Why blockchain?

  • Immutability in decentralized systems ensures that transaction records and product information cannot be tampered with, strengthening the fight against counterfeiting.
  • Blockchain's decentralization fosters trust and collaboration among stakeholders, enabling direct verification and peer-to-peer interactions that contribute to the prevention and detection of counterfeit products.
  • Blockchain's transparency empowers consumers and stakeholders to verify product authenticity by providing an open and auditable record of transactions, thereby bolstering efforts to combat counterfeiting.
  • Blockchain's traceability feature enables the transparent tracking of product movements, making it a powerful tool in combating counterfeiting by verifying the authenticity and origin of goods throughout the supply chain.

Technologies Used

Website:

  • Reactjs
  • SCSS
  • Material UI

Blockchain:

  • Ethereum (Sepolia testnet)
  • Solidity
  • Hardhat
  • Metamask

Getting Started

Prerequisites:

Steps:

  • clone the repository $ git clone https://github.com/Joiyad/TrustMed.git
  • installing the dependencies cd Trustmed
  • npm install
  • Create a .env file and make three variables REACT_APP_CONTRACT_ADDRESS, REACT_APP_INFURA_API_KEY, REACT_APP_SEPOLIA_PRIVATE_KEY.
  • Open metamask and first connect sepolia testnet and then set REACT_APP_SEPOLIA_PRIVATE_KEY equal to your private key.
  • Go to infura and register to get INFURA API KEY and set REACT_APP_INFURA_API_KEY.
  • Deploy the smart contract using hardhat: npx hardhat compile and npx hardhat run --network sepolia scripts/deploy.js. if it runs successfully, you will get contract address. set REACT_APP_CONTRACT_ADDRESS variable with this value.
  • All set, run npm start

Limitations

  • To check the product information, the user needs a QR code scanner.
  • Currently, dependent on Organization to register with us.

Future Scope

  • Can be implemented in other fields.
  • QR Code related service integration with our platform

trustmed's People

Contributors

joiyad avatar

Stargazers

 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.