mirror of
https://github.com/tornadocash/tornado-pool-factory
synced 2024-02-02 15:04:08 +01:00
Merge pull request #2 from tornadocash/fork-deploy-utils
Fork deploy utils
This commit is contained in:
commit
0321d448e8
@ -1,4 +1,5 @@
|
||||
ETHERSCAN_KEY=
|
||||
ALCHEMY_KEY=
|
||||
PRIVATE_KEY=
|
||||
INFURA_API_KEY=
|
||||
ETHERSCAN_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
|
||||
ALCHEMY_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
|
||||
PRIVATE_KEY=0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1
|
||||
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()'
|
||||
```
|
||||
|
||||
Deploy InstanceFactory:
|
||||
Deploy MultipleInstanceFactory:
|
||||
|
||||
```shell
|
||||
yarn hardhat run scripts/deployMultipleInstanceFactory.js --network mainnet
|
||||
|
@ -69,6 +69,14 @@ module.exports = {
|
||||
? [process.env.PRIVATE_KEY]
|
||||
: { mnemonic: 'test test test test test junk' },
|
||||
},
|
||||
...(typeof process.env.FORKNET_RPC_URL === 'string' && {
|
||||
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 },
|
||||
spdxLicenseIdentifier: {
|
||||
|
Loading…
Reference in New Issue
Block a user