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:
yarn sol:deploy
deploysLottery
contract to Mumbaiyarn sol:test
connects toLottery
contract on Mumbai, adds some players, draws the winner, waits forLotteryWon
event (i.e.fulfillRandomWords
called), and withdraws the winner's payoutyarn mob:web
starts Expo dev server