Skip to content

Commit c41bd21

Browse files
committed
Add hardhat-verify dependency to verify TokenStaking
Deployment and verification steps: > npx hardhat deploy --tags TokenStaking --network mainnet > npx hardhat verify --network mainnet <IMPLEMENTATION_ADDRESS> "0xcdf7028ceab81fa0c6971208e83fa7872994bee5"
1 parent efae6b3 commit c41bd21

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

hardhat.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ const config: HardhatUserConfig = {
102102
pages: "files", // `single`, `items` or `files`
103103
exclude: ["./test"],
104104
},
105+
etherscan: {
106+
// Your API key for Etherscan
107+
// Obtain one at https://etherscan.io/
108+
apiKey: process.env.ETHERSCAN_API_KEY || "",
109+
},
105110
}
106111

107112
export default config

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"typescript": "^4.4.4"
5959
},
6060
"dependencies": {
61+
"@nomicfoundation/hardhat-verify": "^2.1.0",
6162
"@openzeppelin/contracts": "~4.5.0",
6263
"@openzeppelin/contracts-upgradeable": "~4.5.2",
6364
"@thesis/solidity-contracts": "github:thesis/solidity-contracts#4985bcf"

0 commit comments

Comments
 (0)