diff options
author | Hsuan Lee <boczeratul@gmail.com> | 2019-04-08 15:18:53 +0800 |
---|---|---|
committer | Hsuan Lee <boczeratul@gmail.com> | 2019-04-08 15:18:53 +0800 |
commit | 742e272b172d19741113dd5a52860101a767d003 (patch) | |
tree | 14173794bf452ec8e019ef0977b9b513bba0f66b /README.md | |
parent | 180942ed527a351c28cc2a418c1528c4e5aaa33e (diff) | |
download | dexon-lottery-742e272b172d19741113dd5a52860101a767d003.tar dexon-lottery-742e272b172d19741113dd5a52860101a767d003.tar.gz dexon-lottery-742e272b172d19741113dd5a52860101a767d003.tar.bz2 dexon-lottery-742e272b172d19741113dd5a52860101a767d003.tar.lz dexon-lottery-742e272b172d19741113dd5a52860101a767d003.tar.xz dexon-lottery-742e272b172d19741113dd5a52860101a767d003.tar.zst dexon-lottery-742e272b172d19741113dd5a52860101a767d003.zip |
Update README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 22 |
1 files changed, 16 insertions, 6 deletions
@@ -4,13 +4,23 @@ Repository for DEXON lottery event ## Install `yarn` -## Compile -`npm run compile` +## Contract -## Testing (By using Ganache) -`npm run test` +### Compile +`npm run contract:compile` -## Deploy contract (on DEXON testnet) +### 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 deploy` +3. `npm run contract:deploy` + +## Webapp + +### Develop +`npm run webapp:dev` + +### Build +`npm run webapp:build` |