Skip to content

Commit 4c0ef4a

Browse files
committed
feat: contracts verification on sourcify
1 parent 1d2baba commit 4c0ef4a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

contracts/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,17 @@ yarn hardhat node --tags Arbitration,VeaMock
149149
yarn test --network localhost
150150
```
151151

152-
#### 4. Verify the Source Code for Contracts
152+
#### 4. Verify the Source Code
153153

154154
This must be done for each network separately.
155155

156156
```bash
157+
# explorer
157158
yarn etherscan-verify --network <arbitrumGoerli|arbitrum|chiado|gnosischain|goerli|mainnet>
159+
160+
# sourcify
161+
yarn sourcify --network <arbitrumGoerli|arbitrum|chiado|gnosischain|goerli|mainnet>
162+
158163
```
159164

160165
## Ad-hoc procedures

contracts/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"simulate": "hardhat simulate:all",
2727
"simulate-local": "hardhat simulate:all --network localhost",
2828
"etherscan-verify": "hardhat etherscan-verify",
29+
"sourcify": "hardhat sourcify --write-failing-metadata",
2930
"size": "hardhat size-contracts --no-compile",
3031
"watch": "hardhat watch",
3132
"docgen": "hardhat docgen",

0 commit comments

Comments
 (0)