Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 996 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 996 Bytes

Oracle Lottery

This is a mobile lottery app interacting with a lottery contract which uses Chainlink VRF to get a random number and determine the lottery winner.

OracleLottery is deployed to Polygon Mumbai.

Tech:

Local dev

  • yarn sol:deploy deploys Lottery contract to Mumbai
  • yarn sol:test connects to Lottery contract on Mumbai, adds some players, draws the winner, waits for LotteryWon event (i.e. fulfillRandomWords called), and withdraws the winner's payout
  • yarn mob:web starts Expo dev server