toufique-imam / certificate-verifiation

Certificate verification system using Ethereum, Alchemy and metamask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Certificate verification


GitHub Stars download visitors

Setup

  • Follow this instruction for setup
  • That instruction will show you how to setup the Alchemy and Metamask
  • Getting Private key from Metamask
  • Getting API_KEY and API_URL from alchemy

Running

  • one time
    • npm install --save-dev hardhat
    • npm install
  • start the CLI : npx hardhat run scripts/interact.js

Project Overview

  • contracts/CertificateVerification.sol: Contains the solidity codes

  • scripts/utils/ipfs_utils.js: IPFS related codes for generating hash, uploading/downloading hash

  • scripts/utils/listener.js: creates listener to contract's event (NOT WORKING)

  • scripts/contract_utils.js: Contract initialization code

  • scripts/deploy.js: Contract deploy code

  • scripts/interact.js: Contains interaction code with contract and IPFS functionalities

  • check contract on etherscan

TODO

  • develop UI

About

Certificate verification system using Ethereum, Alchemy and metamask


Languages

Language:JavaScript 87.1%Language:Solidity 12.9%