blob: 2b3a9ccdd90880c355f5a349531b9d91e3b6ade2 (
plain) (
tree)
|
|
# DEXON Lottery
Repository for DEXON lottery event
## Install
`yarn`
## Contract
### Compile
`npm run contract:compile`
### Testing (By using Ganache)
`npm run contract:test`
### Deploy contract (on DEXON testnet)
1. Copy `secret.js.sample` to `secret.js`.
2. Set the `mnemonic` in `secret.js`.
3. `npm run contract:deploy`
## Webapp
### Develop
`npm run webapp:dev`
### Build
`npm run webapp:build`
|