-
Notifications
You must be signed in to change notification settings - Fork 1
/
chains.ts
59 lines (57 loc) · 1.5 KB
/
chains.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
export enum ChainId {
PolkadotRelay,
KusamaRelay,
PaseoRelay,
IntegriteePolkadot,
IntegriteeKusama,
IntegriteePaseo,
IntegriteeDev,
IncogniteePaseoRelay,
IncogniteeIntegriteeKusama,
}
type ChainConfig = {
name: string;
api: string;
faucetUrl?: string;
};
export const chainConfigs: Record<ChainId, ChainConfig> = {
[ChainId.PolkadotRelay]: {
name: "Polkadot Relay",
api: "wss://rpc.polkadot.io",
},
[ChainId.KusamaRelay]: {
name: "Kusama Relay",
api: "wss://kusama-rpc.polkadot.io",
},
[ChainId.PaseoRelay]: {
name: "Paseo Relay",
api: "wss://rpc.ibp.network/paseo",
faucetUrl: "https://faucet.polkadot.io/",
//faucetUrl: "https://substratefaucet.xyz/paseo/ADDRESS"
},
[ChainId.IntegriteePolkadot]: {
name: "Integritee Polkadot",
api: "wss://polkadot.api.integritee.network",
},
[ChainId.IntegriteeKusama]: {
name: "Integritee Kusama",
api: "wss://kusama.api.integritee.network",
},
[ChainId.IntegriteePaseo]: {
name: "Integritee Paseo",
api: "wss://paseo.api.integritee.network",
faucetUrl: "https://substratefaucet.xyz/integritee/ADDRESS",
},
[ChainId.IntegriteeDev]: {
name: "Integritee Dev",
api: "ws://localhost:9944",
},
[ChainId.IncogniteePaseoRelay]: {
name: "Incognitee Paseo Relay",
api: "wss://scv1.paseo.api.incognitee.io:443",
},
[ChainId.IncogniteeIntegriteeKusama]: {
name: "Incognitee Integritee Kusama",
api: "wss://scv1.integritee-kusama.api.incognitee.io:443",
},
};