forked from polkadot-js/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestingRelayPaseo.ts
70 lines (65 loc) · 2.11 KB
/
testingRelayPaseo.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
61
62
63
64
65
66
67
68
69
70
// Copyright 2017-2024 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { EndpointOption } from './types.js';
import { PASEO_GENESIS } from '../api/constants.js';
import { } from '../ui/logos/chains/index.js';
// import { testnetParachainSVG } from '../ui/logos/nodes/index.js';
import { getTeleports } from './util.js';
// The available endpoints that will show in the dropdown. For the most part (with the exception of
// Polkadot) we try to keep this to live chains only, with RPCs hosted by the community/chain vendor
// info: The chain logo name as defined in ../ui/logos/index.ts in namedLogos (this also needs to align with @polkadot/networks)
// text: The text to display on the dropdown
// providers: The actual hosted secure websocket endpoint
//
// IMPORTANT: Alphabetical based on text
export const testParasPaseo: Omit<EndpointOption, 'teleport'>[] = [
// {
// homepage: 'https://testPaseoParachainExample.com',
// info: 'paseoparachain',
// paraId: 2345,
// providers: {
// Acurast: 'wss://paseo-parachain-testnet-ws.prod.gke.papers.tech'
// },
// text: 'Testnet Parachain',
// ui: {
// color: '#000000',
// logo: testnetParachainSVG
// }
// }
];
export const testParasPaseoCommon: EndpointOption[] = [
// {
// info: 'PaseoAssetHub',
// paraId: 1000,
// providers: {
// Dwellir: 'wss://paseo-asset-hub-rpc.dwellir.com',
// Parity: 'wss://paseo-asset-hub-rpc.polkadot.io'
// },
// teleport: [-1],
// text: 'AssetHub',
// ui: {
// color: '#77bb77',
// logo: nodesAssetHubSVG
// }
// }
];
export const testRelayPaseo: EndpointOption = {
dnslink: 'paseo',
genesisHash: PASEO_GENESIS,
info: 'paseo',
linked: [
...testParasPaseoCommon,
...testParasPaseo
],
providers: {
Amforc: 'wss://paseo.rpc.amforc.com',
'IBP-GeoDNS2': 'wss://rpc.dotters.network/paseo'
// 'light client': 'light://substrate-connect/paseo'
},
teleport: getTeleports(testParasPaseoCommon),
text: 'Paseo',
ui: {
color: '#e6007a',
identityIcon: 'polkadot'
}
};