Skip to content

0xF16/price-bets

Repository files navigation

Basic Bets

This project demonstrates how basic bets can be made in Solidity. It is built just to proof it is possible.

How it works?

Someone deploys the contract and then different users place bets. In the constructor there are a parameters that define:

  • oracle from which the price is being fetched
  • when bidding should not longer be accepted
  • after what time the final result should be validated and when rewards can be paid out

To Do

  • simplify smart-contract code
  • make all the necessary tests
  • accept different collateral types
  • rebuild by using minimal proxy
  • accept votes in "commit-reveal" scheme, so no one can see what the bets are

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published