Skip to content

Commit a6dd2a7

Browse files
committed
chore: add hh verify to contracts package
Signed-off-by: Tomás Migone <[email protected]>
1 parent 3408398 commit a6dd2a7

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

packages/contracts/hardhat.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import '@nomiclabs/hardhat-waffle'
44
import 'hardhat-contract-sizer' // for size-contracts script
55
import 'solidity-coverage' // for coverage script
66
import 'dotenv/config'
7+
import '@nomicfoundation/hardhat-verify'
78

89
import { HardhatUserConfig } from 'hardhat/config'
910

@@ -39,6 +40,16 @@ const config: HardhatUserConfig = {
3940
mnemonic: DEFAULT_TEST_MNEMONIC,
4041
},
4142
},
43+
arbitrumSepolia: {
44+
chainId: 421614,
45+
url: process.env.ARBITRUM_SEPOLIA_URL,
46+
accounts: {
47+
mnemonic: DEFAULT_TEST_MNEMONIC,
48+
},
49+
},
50+
},
51+
etherscan: {
52+
apiKey: process.env.ARBISCAN_API_KEY,
4253
},
4354
typechain: {
4455
outDir: 'types',

packages/contracts/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"@ethersproject/providers": "^5.8.0",
5757
"@graphprotocol/common-ts": "^1.8.3",
5858
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
59+
"@nomicfoundation/hardhat-verify": "2.1.1",
5960
"@nomiclabs/hardhat-ethers": "^2.2.3",
6061
"@nomiclabs/hardhat-etherscan": "^3.1.0",
6162
"@nomiclabs/hardhat-waffle": "^2.0.6",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)