Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daltonclaybrook/guessinggame
A toy implementation of a guessing game on Ethereum
https://github.com/daltonclaybrook/guessinggame
Last synced: about 1 month ago
JSON representation
A toy implementation of a guessing game on Ethereum
- Host: GitHub
- URL: https://github.com/daltonclaybrook/guessinggame
- Owner: daltonclaybrook
- Created: 2022-07-10T16:11:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-12T23:27:59.000Z (over 2 years ago)
- Last Synced: 2024-10-14T03:24:50.017Z (3 months ago)
- Language: Solidity
- Size: 128 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Guessing Game
This project demonstrates an implementation of a guessing game on the Ethereum blockchain. It contains a `GuessingGame` contract with the core functionality of the game, and a `GuessToken` ERC-20 token, which serves as the prize token for the game.
## Deployment
Run the following script to deploy the contracts to the Rinkeby test network.
```shell
yarn deploy-game
```## Verify
```shell
# Verify source code on Etherscan for the game and token contracts
npx hardhat verify-game --network rinkeby --contract
```