https://github.com/daltonclaybrook/guessinggame
A toy implementation of a guessing game on Ethereum
https://github.com/daltonclaybrook/guessinggame
Last synced: 4 months 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 (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-12T23:27:59.000Z (about 3 years ago)
- Last Synced: 2025-01-22T19:13:37.761Z (6 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
```