Skip to content

varandrew/tiger-lottery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiger Lottery Smart Contract

About Tiger Lottery

Screenshot

App

Remix

Contract

Project Layout

.
├── backend
│   ├── contracts
│   │   ├── artifacts
│   │   │   ├── Lottery.json
│   │   │   └── Lottery_metadata.json
│   │   └── Lottery.sol
│   ├── compile.js
│   ├── deploy.js
│   ├── package-lock.json
│   └── package.json
├── frontend
│   ├── public
│   │   ├── favicon.ico
│   │   ├── index.html
│   │   ├── logo192.png
│   │   ├── logo512.png
│   │   ├── manifest.json
│   │   └── robots.txt
│   ├── src
│   │   ├── assets
│   │   │   └── logo.png
│   │   ├── contracts
│   │   │   └── Lottery.json
│   │   ├── App.css
│   │   ├── App.js
│   │   ├── index.css
│   │   ├── index.js
│   │   └── reportWebVitals.js
│   ├── package-lock.json
│   └── package.json
├── screenshots
│   ├── app.png
│   ├── contract.png
│   ├── log.png
│   └── remix.png
├── License
└── README.md

9 directories, 28 files

Running the app

# git clone
git clone https://github.com/varandrew/tiger-lottery.git

# change dir
cd tiger-lottery

# install dependencies
yarn

# compile
node backend/compile.js

# deploy
node backend/deploy.js

# serve
cd frontend && yarn start