- Front
- Circuit
- SmartContract
- docker
- ganache-cli
# 1. install node packages.
$ npm install
# 2. run ganache-cli in another terminal.
$ ganache-cli -e 10000
# 3. run zokrates docker container and initialize it.
$ npm run docker
# 3-1. (optional) if container is already running, restart it.
$ npm run docker:restart && npm run docker:init
# 4. run truffle commands (e.g., test).
$ npx truffle test ./test/ZkDex.test.js
# TODO: what need to do before run vue app
$ cd vapp && npm install && cd ..
$ cd vapp
# run wallet server
$ node app.js
# run vapp server
$ cd vapp && npm run serve