Skip to content

Latest commit

 

History

History
82 lines (51 loc) · 2.27 KB

README.md

File metadata and controls

82 lines (51 loc) · 2.27 KB

Exam Manager

nodejs npm
Contract tests Deploy to Github Pages Latex CI
codecov

DApp for managing student's accademic exams and tests powered by a smart contract deployed on the Goerli testnet.

Installation

Requirements

Steps

Install dependencies

Install the dependencies with npm

npm install

Compile contract

Compile the smart contracts

npm run compile

Deploy contract

Deploy the contract on Goerli.

There are many methods to do this, for example using the online editor Remix.

If you want to use the Hardhat library, you need to provide a Goerli node's RPC url and a private key of an account with sufficient funds. All these settings can be specified as environment variables or in a .env file in the contracts' directory.

RPC_URL=https://goerli.infura.io/v3/123
SK=<secret key>
npm run deploy:goerli

Run DApp

Launch a local version of the DApp

npm start

Running test

To run tests, make sure you have installed the dependencies and run the following command

npm test

FAQ

Is there a backdoor??!?!

You can obtain some extra CFU by clicking the secret hidden button at the top right of the page!

Authors