Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pooltogether/pooltogether-winner-simulator
https://github.com/pooltogether/pooltogether-winner-simulator
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pooltogether/pooltogether-winner-simulator
- Owner: pooltogether
- Created: 2019-11-09T01:07:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T19:03:34.000Z (over 3 years ago)
- Last Synced: 2024-04-23T21:42:39.678Z (9 months ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PoolTogether Prize Simulator
This script calls the Pool#calculateWinner(entropy) function on the Pool contract using random numbers.
It allows us to simulate the winner selection
# Setup
Clone this repository
```
$ git clone [email protected]:pooltogether/pooltogether-winner-simulator.git
```Install dependencies
```
$ yarn
```# Usage
```sh
$ yarn winnersim --help
```