Skip to content

Commit

Permalink
feat(website): update verify contracts guide (#14747)
Browse files Browse the repository at this point in the history
Co-authored-by: dave | d1onys1us <[email protected]>
  • Loading branch information
2 people authored and KorbinianK committed Sep 28, 2023
1 parent 1278d2f commit 5f0bccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/website/pages/docs/guides/verify-a-contract.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ This guide will help get your contract verified on Taiko!

Deploy to Taiko and verify at the same time on Blockscout (with EIP-1559 gas [transaction type 1]):
```sh
forge create --rpc-url https://rpc.test.taiko.xyz --private-key $devTestnetPrivateKey src/Contract.sol:SimpleStorage --verify --verifier blockscout --verifier-url https://explorer.test.taiko.xyz/api\?
forge create --rpc-url https://rpc.jolnir.taiko.xyz --private-key $devTestnetPrivateKey src/Contract.sol:SimpleStorage --verify --verifier blockscout --verifier-url https://blockscoutapi.jolnir.taiko.xyz/api\?
```
<Callout type="info">
To use Legacy gas for [transaction type 0], add the
Expand All @@ -85,7 +85,7 @@ This guide will help get your contract verified on Taiko!
```
flag with forge create. Example:
```
forge create --legacy --rpc-url https://rpc.test.taiko.xyz --private-key $devTestnetPrivateKey src/Contract.sol:SimpleStorage --verify --verifier blockscout --verifier-url https://explorer.test.taiko.xyz/api\?
forge create --legacy --rpc-url https://rpc.jolnir.taiko.xyz --private-key $devTestnetPrivateKey src/Contract.sol:SimpleStorage --verify --verifier blockscout --verifier-url https://blockscoutapi.jolnir.taiko.xyz/api\?
```
</Callout>

Expand Down

0 comments on commit 5f0bccc

Please sign in to comment.