Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matevz/simple-quiz
Simple yes/no quiz running on c10l blockchain
https://github.com/matevz/simple-quiz
Last synced: about 2 months ago
JSON representation
Simple yes/no quiz running on c10l blockchain
- Host: GitHub
- URL: https://github.com/matevz/simple-quiz
- Owner: matevz
- License: apache-2.0
- Created: 2024-06-26T11:59:33.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-26T12:05:24.000Z (6 months ago)
- Last Synced: 2024-10-12T12:17:17.665Z (3 months ago)
- Language: TypeScript
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple true/false quiz dApp contract deployable on c10l EVM chains
## Features
- Stores the questions/statements on-chain and, if they are true or false.
- When a user submits the answers, returns a vector of correct/wrong answers.## Usage
To test it locally:
```shell
yarn
yarn test
```To deploy it on the Oasis Sapphire Testnet, run:
```shell
export PRIVATE_KEY=
npx hardhat deploy --network sapphire-testnet
```