mirror of
https://github.com/tornadocash/tornado-pool-factory
synced 2024-02-02 15:04:08 +01:00
Forknet deploy utils
This commit is contained in:
parent
2137981a3d
commit
299d0fe375
@ -1,4 +1,5 @@
|
|||||||
ETHERSCAN_KEY=
|
ETHERSCAN_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
|
||||||
ALCHEMY_KEY=
|
ALCHEMY_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
|
||||||
PRIVATE_KEY=
|
PRIVATE_KEY=0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1
|
||||||
INFURA_API_KEY=
|
INFURA_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
|
||||||
|
FORKNET_RPC_URL=https://link-to.fork
|
||||||
|
@ -71,7 +71,7 @@ Check addresses with current config:
|
|||||||
node -e 'require("./src/generateAddresses").generateWithLog()'
|
node -e 'require("./src/generateAddresses").generateWithLog()'
|
||||||
```
|
```
|
||||||
|
|
||||||
Deploy InstanceFactory:
|
Deploy MultipleInstanceFactory:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
yarn hardhat run scripts/deployMultipleInstanceFactory.js --network mainnet
|
yarn hardhat run scripts/deployMultipleInstanceFactory.js --network mainnet
|
||||||
|
@ -69,6 +69,12 @@ module.exports = {
|
|||||||
? [process.env.PRIVATE_KEY]
|
? [process.env.PRIVATE_KEY]
|
||||||
: { mnemonic: 'test test test test test junk' },
|
: { mnemonic: 'test test test test test junk' },
|
||||||
},
|
},
|
||||||
|
forknet: {
|
||||||
|
url: process.env.FORKNET_RPC_URL,
|
||||||
|
accounts: process.env.PRIVATE_KEY
|
||||||
|
? [process.env.PRIVATE_KEY]
|
||||||
|
: { mnemonic: 'test test test test test junk' },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
mocha: { timeout: 9999999999 },
|
mocha: { timeout: 9999999999 },
|
||||||
spdxLicenseIdentifier: {
|
spdxLicenseIdentifier: {
|
||||||
|
Loading…
Reference in New Issue
Block a user