Skip to content

Commit cbda35c

Browse files
authored
fix: replace deprecated Polygon RPC URL (#4352)
Replace polygon-rpc.com (Ankr) with polygon.drpc.org (dRPC).
1 parent e9ea7d0 commit cbda35c

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/fix-polygon-rpc-url.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"viem": patch
3+
---
4+
5+
Updated Polygon chain default RPC URL.

src/chains/definitions/polygon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const polygon = /*#__PURE__*/ defineChain({
77
nativeCurrency: { name: 'POL', symbol: 'POL', decimals: 18 },
88
rpcUrls: {
99
default: {
10-
http: ['https://polygon-rpc.com'],
10+
http: ['https://polygon.drpc.org'],
1111
},
1212
},
1313
blockExplorers: {

0 commit comments

Comments
 (0)