Learn to Earn Dapp. User can create quiz, attempt quizzes and earn tokens for correct answers.
Team:
- Github: @heypran
Smart Contract deployed on Polygon.
Uses IPFS to store quiz details ( web3 storage), such as questions, options, titles etc. Later option to save notes and discussion threads will be added. Refer files quiz-app/services/quizApi
and functions such as createQuiz
, getQuizByCid
.
Frontend built using Antd framework, NextJs, React and Typescript.
git clone <repo>
cd backend
yarn
yarn compile
yarn deploy:quizapp --network testnet
Note: you will need to provide a private key deployment refer backend/private.example.json
cd quiz-app
yarn
yarn dev
Note: you can provide your own contract address in quiz-app/config/constants
and abi in quiz-app/abi