Skip to content

Commit

Permalink
update foundry commands
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzdogan committed Jun 3, 2024
1 parent f3c2229 commit 7786b27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/3. Verification/1.howToVerify.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ forge create --rpc-url <your_rpc_url> \
--verifier-url https://localhost:5555 # optional, defaults to https://sourcify.dev
```

Verify an already deployed (and compiled) contract

```
forge verify-contract 0x55f7d4279CE387067f12561e7E0c194f5186cFba \
src/MyToken.sol:MyToken \
Expand All @@ -43,6 +45,7 @@ forge verify-contract 0x55f7d4279CE387067f12561e7E0c194f5186cFba \
--verifier-url https://localhost:5555 # optional, defaults to https://sourcify.dev
```

Check if a contract is verified
```
forge verify-check 0x55f7d4279CE387067f12561e7E0c194f5186cFba \
--chain-id 11155111 \
Expand Down

0 comments on commit 7786b27

Please sign in to comment.