Resolve all Tornado-libs dependencies via gitea npm registry
This commit is contained in:
parent
56c1d0a3be
commit
618554b226
1
.npmrc
Normal file
1
.npmrc
Normal file
@ -0,0 +1 @@
|
||||
@tornado:registry=https://git.tornado.ws/api/packages/tornado-packages/npm/
|
14
cli.js
14
cli.js
@ -4,20 +4,20 @@ require('dotenv').config();
|
||||
const fs = require('fs');
|
||||
const axios = require('axios');
|
||||
const assert = require('assert');
|
||||
const snarkjs = require('snarkjs');
|
||||
const snarkjs = require('@tornado/snarkjs');
|
||||
const crypto = require('crypto');
|
||||
const circomlib = require('circomlib');
|
||||
const circomlib = require('@tornado/circomlib');
|
||||
const bigInt = snarkjs.bigInt;
|
||||
const merkleTree = require('fixed-merkle-tree');
|
||||
const merkleTree = require('@tornado/fixed-merkle-tree');
|
||||
const Web3 = require('web3');
|
||||
const Web3HttpProvider = require('web3-providers-http');
|
||||
const buildGroth16 = require('websnark/src/groth16');
|
||||
const websnarkUtils = require('websnark/src/utils');
|
||||
const Web3HttpProvider = require('@tornado/web3-providers-http');
|
||||
const buildGroth16 = require('@tornado/websnark/src/groth16');
|
||||
const websnarkUtils = require('@tornado/websnark/src/utils');
|
||||
const { toWei, fromWei, toBN, BN } = require('web3-utils');
|
||||
const BigNumber = require('bignumber.js');
|
||||
const config = require('./config');
|
||||
const program = require('commander');
|
||||
const { GasPriceOracle } = require('gas-price-oracle');
|
||||
const { GasPriceOracle } = require('@tornado/gas-price-oracle');
|
||||
const { SocksProxyAgent } = require('socks-proxy-agent');
|
||||
const is_ip_private = require('private-ip');
|
||||
const readline = require('readline');
|
||||
|
4896
package-lock.json
generated
4896
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
@ -13,18 +13,18 @@
|
||||
"axios": "^0.19.2",
|
||||
"bignumber.js": "^9.0.0",
|
||||
"circom": "0.0.35",
|
||||
"circomlib": "git+https://git@development.tornadocash.community/tornadocash/circomlib#f6294680eb315878cb436a64c6deb66ac922f8c7",
|
||||
"@tornado/circomlib": "0.0.20-p2",
|
||||
"commander": "^5.1.0",
|
||||
"dotenv": "^8.2.0",
|
||||
"fixed-merkle-tree": "git+https://git@development.tornadocash.community/tornadocash/fixed-merkle-tree#d709343f1aea53bece79644392b044d8502f2882",
|
||||
"gas-price-oracle": "^0.5.2",
|
||||
"@tornado/fixed-merkle-tree": "0.6.1-p1",
|
||||
"@tornado/gas-price-oracle": "0.5.2-p1",
|
||||
"private-ip": "^2.3.3",
|
||||
"snarkjs": "git+https://git@development.tornadocash.community/tornadocash/snarkjs#733c435f66735beeffaf871481e14ff217d00e4c",
|
||||
"@tornado/snarkjs": "0.1.20-p2",
|
||||
"socks-proxy-agent": "^6.1.1",
|
||||
"web3": "^1.6.1",
|
||||
"es5-ext": "git+https://github.com/medikoo/es5-ext#3ddd2066b19e7c25a782869a304ae35d8188c8f1",
|
||||
"web3-providers-http": "file:local_modules/web3-providers-http",
|
||||
"websnark": "git+https://git@development.tornadocash.community/tornadocash/websnark#671762fab73f01771d0e7ebcf6b6a3123e193fb4"
|
||||
"@tornado/web3-providers-http": "1.6.5-p1",
|
||||
"@tornado/websnark": "0.0.4-p1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^7.0.0"
|
||||
|
Loading…
Reference in New Issue
Block a user