Skip to content

carsonwah/crypto-quiz

Repository files navigation

CryptoQuiz

Introduction

CryptoQuiz is a Dapp for off-classroom quizzes. It is a new way to run a fair, transparent, yet secure quiz. Professor can open questions and let students to submit their answers. Once the question expire and answer is revealed, awards will be sent to students who had the correct answer.

To keep their answers obscure and secret on the chain, we adopt public-key signing method with nonce. Only professor, who holds the private key of the question, can see or reveal the answer.

Tutorial: https://legacy.gitbook.com/book/carsonwah/dapp-tutorial/details

Getting Started

Install Dependencies

Basic structure is based on https://truffleframework.com/boxes/pet-shop.

Migrate smart contract

truffle migrate --reset

Run dev server

npm run dev

Resources

Cryptography

We use EC (Ellipis-Curve) cryptography to encrypt & decrypt message. We may use the following libraries:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published