mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-12-28 15:49:22 -05:00
readme
This commit is contained in:
parent
f90e298b6c
commit
e29b1afeff
22
README.md
22
README.md
@ -1,8 +1,22 @@
|
||||
## Requirements
|
||||
1. `node v11.15.0`
|
||||
2. `npm install -g npx`
|
||||
|
||||
## Usage
|
||||
- `npm i`
|
||||
- `cp .env.example .env`
|
||||
- `npm run build:circuit`
|
||||
- `npm run build:contract`
|
||||
- `npx run truffle-cli`
|
||||
- `npm run migrate:dev`
|
||||
- `./cli.js deposit`
|
||||
- `./cli.js withdraw <note from previous step> <destination eth address>`
|
||||
|
||||
## Testing truffle
|
||||
1. `npm i`
|
||||
2. `npm run build:circuit`
|
||||
2. `npx truffle compile`
|
||||
3. `npx truffle test` - it may fail for the first time, just run one more time.
|
||||
2. `npm run build:contract`
|
||||
3. `npm run test` - it may fail for the first time, just run one more time.
|
||||
|
||||
## Testing js
|
||||
1. `npm i`
|
||||
@ -13,10 +27,6 @@
|
||||
## Deploy
|
||||
1. `npx truffle migrate --network kovan --reset`
|
||||
|
||||
## Requirements
|
||||
1. `node v11.15.0`
|
||||
2. `npm install -g npx`
|
||||
|
||||
# Specs:
|
||||
- Deposit gas cost: deposit 903472
|
||||
- Withdraw gas cost: 727821
|
||||
|
Loading…
Reference in New Issue
Block a user