-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpolygon.ts
40 lines (39 loc) · 992 Bytes
/
polygon.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { defineChain } from '../../utils/chain/defineChain.js'
export const polygon = /*#__PURE__*/ defineChain({
id: 137,
name: 'Polygon',
network: 'matic',
nativeCurrency: { name: 'MATIC', symbol: 'MATIC', decimals: 18 },
rpcUrls: {
alchemy: {
http: ['https://polygon-mainnet.g.alchemy.com/v2'],
webSocket: ['wss://polygon-mainnet.g.alchemy.com/v2'],
},
infura: {
http: ['https://polygon-mainnet.infura.io/v3'],
webSocket: ['wss://polygon-mainnet.infura.io/ws/v3'],
},
default: {
http: ['https://polygon-rpc.com'],
},
public: {
http: ['https://polygon-rpc.com'],
},
},
blockExplorers: {
etherscan: {
name: 'PolygonScan',
url: 'https://polygonscan.com',
},
default: {
name: 'PolygonScan',
url: 'https://polygonscan.com',
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 25770160,
},
},
})