- MetaMask based React Webapp
- Private key based Flutter Webapp and APK for non MetaMask supported browsers and devices
npm i
inside root folder and lottery-react to install dependencies.- run
node compile.js
to compile the contract. - run
node deploy.js
to deploy on rinkeby network.
- copy the contract deployment address from console to
address
variable inside lottery-react/src/lottery.js - run locally with
yarn start
- change
homepage
from lottery-react/package.json tohttps://{username}.github.io/{repo-name}
- run
yarn deploy
to deploy on gh-pages.
- run
flutter pub get
to install packages inside pubspec.yaml. - run
flutter run
inside lottery_flutter