-
Notifications
You must be signed in to change notification settings - Fork 0
/
rpcClient.ts
60 lines (57 loc) · 1.25 KB
/
rpcClient.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import { Chain } from "viem";
import {
bscTestnet,
lineaTestnet,
scrollSepolia,
optimismSepolia,
mantleTestnet,
baseSepolia,
arbitrumSepolia,
opBNBTestnet,
} from "viem/chains";
export const polygonAmoy = {
id: 80002,
name: "Polygon Amoy",
network: "Polygon Amoy",
nativeCurrency: { name: "MATIC", symbol: "MATIC", decimals: 18 },
rpcUrls: {
public: {
http: ["https://rpc-amoy.polygon.technology/"],
},
default: {
http: ["https://rpc-amoy.polygon.technology"],
},
},
blockExplorers: {
default: { name: "Explorer", url: "https://www.oklink.com/amoy" },
},
testnet: true,
};
export const cyberTestnet = {
id: 111557560,
name: "Cyber Testnet",
network: "Cyber Testnet",
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
rpcUrls: {
default: { http: ["https://rpc.testnet.cyber.co"] },
public: { http: ["https://rpc.testnet.cyber.co"] },
},
blockExplorers: {
default: {
name: "Cyber Testnet Explorer",
url: "https://testnet.cyberscan.co/",
},
},
};
export const testnetChains: Chain[] = [
optimismSepolia,
lineaTestnet,
arbitrumSepolia,
opBNBTestnet,
scrollSepolia,
bscTestnet,
baseSepolia,
polygonAmoy,
mantleTestnet,
cyberTestnet,
];