Forknet deploy utils

This commit is contained in:
SnowShield 2022-04-08 12:31:51 +03:00
parent 2137981a3d
commit 299d0fe375
3 changed files with 12 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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: {