Diploma Issuing Thing is a web3 dApp built around the concept of issuing diplomas/certificates to students as a way to prove that they indeed have the qualifications they claim to have.
First, a diploma/certificate is minted to the institution's address (which is also the contract's owner), then it can be sent to the student's wallet. After this, the transaction is complete.
You can check this project out live: https://diploma-issuing.netlify.app/. Note that you can use it only if you're the contract owner.
First, install all of the dependencies using npm ci.
- Run
npx hardhat compile. - Open another terminal and run
npx hardhat node. This needs to run in the background all the time. - Install MetaMask. Switch to the localhost network.
- Import a wallet from the
npx hardhat nodeterminal into MetaMask. - Go to hardhat.config.js, copy the private key from the same wallet and paste it into the
accountsfield in thelocalhostobject. - In MetaMask, go to Settings -> Networks -> Localhost and change the chain id to 31337. Here's why you should do this.
- Run
npx run scripts/deploy.js --network localhost.
This project uses Angular CLI version 13.1.4.
- Install Angular globally using
npm install -g @angular/cli. - Run
ng serve. - Navigate to
http://localhost:4200/.