Hardhat contract development environment for Etherbets.
Current work in progress available at: https://etherbets.org/
-
Create Aggregator contract for Sports Bets.
- Done. Results are aggregated from TheRundown and SportsDataIO. This contract accepts bets on home and away team, then fetches results from both providers and pays out whoever bet on the winning team.
-
Add events to all three betting apps.
-
Explore using multiple Chainlink Price Feeds as source of randomness (several price values multiplied by each other).
-
Upgrade to Chainlink VRF v2.
-
Unite bet instances into a single contract to decrease costs.
-
Explore other oracle options.
-
Use Chainlink Keepers to automate function calls.
-
Get rid of public variables (used for debugging).
-
Use Fisher–Yates shuffle to expand numbers from the random seed more efficiently.