add Etherscan verification

This commit is contained in:
Drygin 2022-02-23 20:27:05 +03:00
parent a6680852ed
commit f21a4f69bd
2 changed files with 20 additions and 9 deletions

View File

@ -18,7 +18,7 @@ jobs:
- run: yarn cache clean --all - run: yarn cache clean --all
- run: yarn install --network-concurrency 1 - run: yarn install --network-concurrency 1
- run: yarn lint - run: yarn lint
- run: yarn build - run: yarn compile
- run: yarn test - run: yarn test
env: env:
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }} ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }}

View File

@ -60,5 +60,16 @@ node -e 'require("./src/generateAddresses").generateWithLog()'
Deploy InstanceFactory: Deploy InstanceFactory:
```shell ```shell
npx hardhat run scripts/deployInstanceFactory.js --network mainnet yarn hardhat run scripts/deployInstanceFactory.js --network mainnet
```
Verify InstanceFactory on Etherscan:
```
yarn hardhat verify --network <network-name> <contract-address> <constructor-arguments>
```
With current config:
```
yarn hardhat verify --network mainnet 0x7a6e627DC6F66617b4A74Be097A8f56c622fa24c 0xce172ce1F20EC0B3728c9965470eaf994A03557A 0x83584f83f26aF4eDDA9CBe8C730bc87C364b28fe 20 0x5efda50f22d34F262c29268506C5Fa42cB56A1Ce 0xB20c66C4DE72433F3cE747b58B86830c459CA911 0x77777FeDdddFfC19Ff86DB637967013e6C6A116C 200000000000000000000
``` ```