-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconstants.js
52 lines (52 loc) · 1.42 KB
/
constants.js
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
41
42
43
44
45
46
47
48
49
50
51
52
export const NETWORKS = {
1: {
name: "Ethereum",
rpcURL: "https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
currency: {
name: "Ether",
symbol: "ETH",
decimals: 18
},
blockExplorerURL: "https://etherscan.io"
},
4: {
name: "Rinkeby",
rpcURL: "https://rinkeby.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
currency: {
name: "Ether",
symbol: "ETH",
decimals: 18
},
blockExplorerURL: "https://rinkeby.etherscan.io"
},
137: {
name: "Polygon Mainnet",
rpcURL: "https://polygon-rpc.com/",
currency: {
name: "MATIC",
symbol: "MATIC",
decimals: 18
},
blockExplorerURL: "https://polygonscan.com/"
},
56: {
name: "Binance Smart Chain Mainnet",
rpcURL: "https://bsc-dataseed1.binance.org",
currency: {
name: "Binance Chain Native Token",
symbol: "BNB",
decimals: 18
},
blockExplorerURL: "https://bscscan.com",
},
97: {
name: "Binance Smart Chain Testnet",
rpcURL: "https://data-seed-prebsc-1-s1.binance.org:8545",
currency: {
name: "Binance Chain Native Token",
symbol: "tBNB",
decimals: 18
},
blockExplorerURL: "https://testnet.bscscan.com",
},
}