|
5 년 전 | |
---|---|---|
circuits | 5 년 전 | |
contracts | 5 년 전 | |
lib | 5 년 전 | |
migrations | 5 년 전 | |
test | 5 년 전 | |
.editorconfig | 5 년 전 | |
.env.example | 5 년 전 | |
.eslintrc.json | 5 년 전 | |
.gitattributes | 5 년 전 | |
.gitignore | 5 년 전 | |
.nvmrc | 5 년 전 | |
.solhint.json | 5 년 전 | |
.travis.yml | 5 년 전 | |
LICENSE | 5 년 전 | |
README.md | 5 년 전 | |
cli.js | 5 년 전 | |
index.html | 5 년 전 | |
mixer.png | 5 년 전 | |
package-lock.json | 5 년 전 | |
package.json | 5 년 전 | |
truffle-config.js | 5 년 전 |
node v11.15.0
npm install -g npx
npm i
cp .env.example .env
npm run build:circuit
- may take 10 minutes or morenpm run build:contract
npm run browserify
npx ganache-cli
npm run test
- optionally run tests. It may fail for the first time, just run one more time.npm run migrate:dev
./cli.js deposit
./cli.js withdraw <note from previous step> <destination eth address>
./cli.js balance <destination eth address>
vi .env
- add your Kovan private key to deploy contractsnpm run migrate
npx http-server
- serve current dir, you can use any other http serverlocalhost:8080
Special thanks to @barryWhiteHat and @kobigurk for valuable input, and to @jbaylina for awesome Circom & Websnark framework