mirror of
https://github.com/tornadocash/deployer.git
synced 2025-01-15 15:28:43 +01:00
tidy
This commit is contained in:
parent
fa6df78179
commit
4dd141a398
@ -28,7 +28,6 @@
|
|||||||
"bn-chai": "^1.0.1",
|
"bn-chai": "^1.0.1",
|
||||||
"chai": "^4.2.0",
|
"chai": "^4.2.0",
|
||||||
"chai-as-promised": "^7.1.1",
|
"chai-as-promised": "^7.1.1",
|
||||||
"dotenv": "^8.2.0",
|
|
||||||
"eslint": "^7.5.0",
|
"eslint": "^7.5.0",
|
||||||
"eslint-config-prettier": "^6.11.0",
|
"eslint-config-prettier": "^6.11.0",
|
||||||
"eslint-plugin-prettier": "^3.1.4",
|
"eslint-plugin-prettier": "^3.1.4",
|
||||||
|
23
truffle.js
23
truffle.js
@ -1,8 +1,3 @@
|
|||||||
require('dotenv').config()
|
|
||||||
const HDWalletProvider = require('truffle-hdwallet-provider')
|
|
||||||
const utils = require('web3-utils')
|
|
||||||
const { PRIVATE_KEY, INFURA_TOKEN } = process.env
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// Uncommenting the defaults below
|
// Uncommenting the defaults below
|
||||||
// provides for an easier quick-start with Ganache.
|
// provides for an easier quick-start with Ganache.
|
||||||
@ -21,24 +16,6 @@ module.exports = {
|
|||||||
// port: 7545,
|
// port: 7545,
|
||||||
// network_id: "*"
|
// network_id: "*"
|
||||||
// }
|
// }
|
||||||
mainnet: {
|
|
||||||
provider: () => new HDWalletProvider(PRIVATE_KEY, `https://mainnet.infura.io/v3/${INFURA_TOKEN}`),
|
|
||||||
network_id: 1,
|
|
||||||
gas: 6000000,
|
|
||||||
gasPrice: utils.toWei('100', 'gwei'),
|
|
||||||
// confirmations: 0,
|
|
||||||
// timeoutBlocks: 200,
|
|
||||||
skipDryRun: true,
|
|
||||||
},
|
|
||||||
kovan: {
|
|
||||||
provider: () => new HDWalletProvider(PRIVATE_KEY, `https://kovan.infura.io/v3/${INFURA_TOKEN}`),
|
|
||||||
network_id: 42,
|
|
||||||
gas: 6000000,
|
|
||||||
gasPrice: utils.toWei('1', 'gwei'),
|
|
||||||
// confirmations: 0,
|
|
||||||
// timeoutBlocks: 200,
|
|
||||||
skipDryRun: true,
|
|
||||||
},
|
|
||||||
coverage: {
|
coverage: {
|
||||||
host: 'localhost',
|
host: 'localhost',
|
||||||
network_id: '*',
|
network_id: '*',
|
||||||
|
@ -1280,11 +1280,6 @@ dom-walk@^0.1.0:
|
|||||||
resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.2.tgz#0c548bef048f4d1f2a97249002236060daa3fd84"
|
resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.2.tgz#0c548bef048f4d1f2a97249002236060daa3fd84"
|
||||||
integrity sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==
|
integrity sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==
|
||||||
|
|
||||||
dotenv@^8.2.0:
|
|
||||||
version "8.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a"
|
|
||||||
integrity sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==
|
|
||||||
|
|
||||||
duplexer3@^0.1.4:
|
duplexer3@^0.1.4:
|
||||||
version "0.1.4"
|
version "0.1.4"
|
||||||
resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2"
|
resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2"
|
||||||
|
Loading…
Reference in New Issue
Block a user