Skip to content

Commit

Permalink
feat(cli): add polygon amoy (#4399)
Browse files Browse the repository at this point in the history
* added polygonAmoy to sourcify and etherscan plugin

* chore: changeset

---------

Co-authored-by: Job <[email protected]>
  • Loading branch information
tmm and dev-job authored Nov 11, 2024
1 parent aa6416c commit bc18673
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/light-frogs-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/cli": patch
---

Added Polygon Amoy to Sourcify and Etherscan plugins.
1 change: 1 addition & 0 deletions packages/cli/src/plugins/etherscan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const apiUrls = {
// Polygon
[137]: 'https://api.polygonscan.com/api',
[80_001]: 'https://api-testnet.polygonscan.com/api',
[80_002]: 'https://api-amoy.polygonscan.com/api',
// Arbitrum
[42_161]: 'https://api.arbiscan.io/api',
[421_613]: 'https://api-goerli.arbiscan.io/api',
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/plugins/sourcify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ type ChainId =
| 11297108099
| typeof chain.polygon.id
| typeof chain.polygonMumbai.id
| typeof chain.polygonAmoy.id
| 336
| 57
| 5700
Expand Down

0 comments on commit bc18673

Please sign in to comment.