- fun project to create certificate verification system while learning new ethereum stack
- followed instruction of web3.university's tutorial blog series Iftekher Toufique Imam
- Follow this instruction for setup
- That instruction will show you how to setup the
Alchemy
andMetamask
- Getting
Private key
fromMetamask
- Getting
API_KEY
andAPI_URL
fromalchemy
- one time
npm install --save-dev hardhat
npm install
- start the CLI :
npx hardhat run scripts/interact.js
-
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
- develop UI