mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-10-01 01:06:17 -04: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
|
## Testing truffle
|
||||||
1. `npm i`
|
1. `npm i`
|
||||||
2. `npm run build:circuit`
|
2. `npm run build:circuit`
|
||||||
2. `npx truffle compile`
|
2. `npm run build:contract`
|
||||||
3. `npx truffle test` - it may fail for the first time, just run one more time.
|
3. `npm run test` - it may fail for the first time, just run one more time.
|
||||||
|
|
||||||
## Testing js
|
## Testing js
|
||||||
1. `npm i`
|
1. `npm i`
|
||||||
@ -13,10 +27,6 @@
|
|||||||
## Deploy
|
## Deploy
|
||||||
1. `npx truffle migrate --network kovan --reset`
|
1. `npx truffle migrate --network kovan --reset`
|
||||||
|
|
||||||
## Requirements
|
|
||||||
1. `node v11.15.0`
|
|
||||||
2. `npm install -g npx`
|
|
||||||
|
|
||||||
# Specs:
|
# Specs:
|
||||||
- Deposit gas cost: deposit 903472
|
- Deposit gas cost: deposit 903472
|
||||||
- Withdraw gas cost: 727821
|
- Withdraw gas cost: 727821
|
||||||
|
Loading…
Reference in New Issue
Block a user