Skip to content

Certificate verification system using Ethereum, Alchemy and metamask

Notifications You must be signed in to change notification settings

toufique-imam/certificate-verifiation

Repository files navigation

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