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 <13951458+d1onys1us@users.noreply.github.com>
  • Loading branch information
2manslkh and d1onys1us committed Sep 19, 2023
1 parent 36d56bc commit fb9b42b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/website/pages/docs/guides/verify-a-contract.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This guide will help get your contract verified on Taiko!
solidity: "0.8.18",
networks: {
taiko: {
url: "https://rpc.test.taiko.xyz",
url: "https://rpc.jolnir.taiko.xyz",
accounts: [
"0xf214f2b2cd398c806f84e317254e0f0b801d0643303237d97a22a48e01628897",
],
Expand All @@ -39,10 +39,10 @@ This guide will help get your contract verified on Taiko!
customChains: [
{
network: "taiko",
chainId: 167005,
chainId: 167007,
urls: {
apiURL: "https://explorer.test.taiko.xyz/api",
browserURL: "https://explorer.test.taiko.xyz",
apiURL: "https://blockscoutapi.jolnir.taiko.xyz/api",
browserURL: "https://explorer.jolnir.taiko.xyz",
},
},
],
Expand All @@ -62,7 +62,7 @@ This guide will help get your contract verified on Taiko!

**3. View your verified contract on Blockscout**

Check the [Taiko block explorer](https://explorer.test.taiko.xyz) link from the output to see your contract was verified.
Check the [Taiko block explorer](https://explorer.jolnir.taiko.xyz) link from the output to see your contract was verified.

</Tab>
<Tab>
Expand All @@ -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 fb9b42b

Please sign in to comment.