mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-10-31 23:35:20 +01:00
rinkeby deployment
This commit is contained in:
parent
3169d79ee0
commit
35f4b031f4
@ -17,6 +17,7 @@
|
|||||||
"migrate": "npm run migrate:kovan",
|
"migrate": "npm run migrate:kovan",
|
||||||
"migrate:dev": "npx truffle migrate --network development --reset",
|
"migrate:dev": "npx truffle migrate --network development --reset",
|
||||||
"migrate:kovan": "npx truffle migrate --network kovan --reset",
|
"migrate:kovan": "npx truffle migrate --network kovan --reset",
|
||||||
|
"migrate:rinkeby": "npx truffle migrate --network rinkeby --reset",
|
||||||
"migrate:mainnet": "npx truffle migrate --network mainnet",
|
"migrate:mainnet": "npx truffle migrate --network mainnet",
|
||||||
"eslint": "npx eslint --ignore-path .gitignore .",
|
"eslint": "npx eslint --ignore-path .gitignore .",
|
||||||
"flat": "truffle-flattener contracts/ETHMixer.sol > ETHMixer_flat.sol contracts/ERC20Mixer.sol > ERC20Mixer_flat.sol"
|
"flat": "truffle-flattener contracts/ETHMixer.sol > ETHMixer_flat.sol contracts/ERC20Mixer.sol > ERC20Mixer_flat.sol"
|
||||||
|
@ -51,6 +51,15 @@ module.exports = {
|
|||||||
// timeoutBlocks: 200,
|
// timeoutBlocks: 200,
|
||||||
skipDryRun: true
|
skipDryRun: true
|
||||||
},
|
},
|
||||||
|
rinkeby: {
|
||||||
|
provider: () => new HDWalletProvider(process.env.PRIVATE_KEY, 'https://rinkeby.infura.io/v3/c7463beadf2144e68646ff049917b716'),
|
||||||
|
network_id: 4,
|
||||||
|
gas: 6000000,
|
||||||
|
gasPrice: utils.toWei('1', 'gwei'),
|
||||||
|
// confirmations: 0,
|
||||||
|
// timeoutBlocks: 200,
|
||||||
|
skipDryRun: true
|
||||||
|
},
|
||||||
mainnet: {
|
mainnet: {
|
||||||
provider: () => new HDWalletProvider(process.env.PRIVATE_KEY, 'http://ethereum-rpc.trustwalletapp.com'),
|
provider: () => new HDWalletProvider(process.env.PRIVATE_KEY, 'http://ethereum-rpc.trustwalletapp.com'),
|
||||||
network_id: 1,
|
network_id: 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user