149 lines
3.8 KiB
TypeScript
149 lines
3.8 KiB
TypeScript
// Copyright 2017-2022 @polkadot/apps-config authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { EndpointOption } from './types';
|
|
|
|
import { WESTEND_GENESIS } from '../api/constants';
|
|
|
|
/* eslint-disable sort-keys */
|
|
|
|
// 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 testParasWestend: EndpointOption[] = [
|
|
{
|
|
info: 'charcoal',
|
|
paraId: 2086,
|
|
text: 'Charcoal',
|
|
providers: {
|
|
Centrifuge: 'wss://fullnode-collator.charcoal.centrifuge.io'
|
|
}
|
|
},
|
|
{
|
|
info: 'integritee',
|
|
paraId: 2081,
|
|
text: 'Integritee Network',
|
|
providers: {
|
|
Integritee: 'wss://teerw1.integritee.network'
|
|
}
|
|
},
|
|
{
|
|
info: 'interlay',
|
|
isUnreachable: true, // https://github.com/polkadot-js/apps/issues/6261
|
|
paraId: 2094,
|
|
text: 'Interlay',
|
|
providers: {
|
|
Interlay: 'wss://api-westend.interlay.io/parachain'
|
|
}
|
|
},
|
|
{
|
|
info: 'moonshadow',
|
|
isUnreachable: true, // https://github.com/polkadot-js/apps/issues/6181
|
|
paraId: 2002,
|
|
text: 'Moonshadow',
|
|
providers: {
|
|
PureStake: 'wss://wss.moonshadow.testnet.moonbeam.network'
|
|
}
|
|
},
|
|
{
|
|
info: 'pangoro',
|
|
isUnreachable: true, // https://github.com/polkadot-js/apps/issues/6530
|
|
homepage: 'https://darwinia.network/',
|
|
paraId: 2102,
|
|
text: 'Pangoro',
|
|
providers: {
|
|
Darwinia: 'wss://pangoro-parachain-rpc.darwinia.network'
|
|
}
|
|
},
|
|
{
|
|
info: 'westendPichiu',
|
|
homepage: 'https://kylin.network/',
|
|
paraId: 2112,
|
|
text: 'Pichiu',
|
|
providers: {
|
|
'Kylin Network': 'wss://westend.kylin-node.co.uk'
|
|
}
|
|
},
|
|
{
|
|
info: 'westendStandard',
|
|
paraId: 2094,
|
|
text: 'Standard ',
|
|
providers: {
|
|
'Standard Protocol': 'wss://rpc.westend.standard.tech'
|
|
}
|
|
},
|
|
{
|
|
info: 'karura',
|
|
isUnreachable: true, // https://github.com/polkadot-js/apps/issues/5830
|
|
paraId: 2005,
|
|
text: 'Wendala',
|
|
providers: {
|
|
'Acala Foundation': 'wss://karura-westend-rpc.aca-staging.network'
|
|
}
|
|
},
|
|
{
|
|
info: 'whala',
|
|
isUnreachable: true, // https://github.com/polkadot-js/apps/issues/6181
|
|
paraId: 2013,
|
|
text: 'Whala',
|
|
providers: {
|
|
Phala: 'wss://whala.phala.network/ws'
|
|
}
|
|
},
|
|
{
|
|
info: 'kilt',
|
|
homepage: 'https://www.kilt.io/',
|
|
paraId: 2085,
|
|
text: 'WILT',
|
|
providers: {
|
|
'KILT Protocol': 'wss://westend.kilt.io:9977'
|
|
}
|
|
}
|
|
];
|
|
|
|
export const testParasWestendCommon: EndpointOption[] = [
|
|
{
|
|
info: 'westmint',
|
|
paraId: 1000,
|
|
text: 'Westmint',
|
|
providers: {
|
|
Parity: 'wss://westmint-rpc.polkadot.io',
|
|
Dwellir: 'wss://westmint-rpc.dwellir.com'
|
|
},
|
|
teleport: [-1]
|
|
},
|
|
{
|
|
info: 'westendCollectives',
|
|
paraId: 1002,
|
|
text: 'Westend Collectives',
|
|
providers: {
|
|
Parity: 'wss://westend-collectives-rpc.polkadot.io'
|
|
},
|
|
teleport: [-1]
|
|
}
|
|
];
|
|
|
|
export const testRelayWestend: EndpointOption = {
|
|
dnslink: 'westend',
|
|
genesisHash: WESTEND_GENESIS,
|
|
info: 'westend',
|
|
text: 'Westend',
|
|
providers: {
|
|
Parity: 'wss://westend-rpc.polkadot.io',
|
|
OnFinality: 'wss://westend.api.onfinality.io/public-ws',
|
|
Pinknode: 'wss://rpc.pinknode.io/westend/explorer',
|
|
Dwellir: 'wss://westend-rpc.dwellir.com',
|
|
// 'NodeFactory(Vedran)': 'wss://westend.vedran.nodefactory.io/ws', // https://github.com/polkadot-js/apps/issues/5580
|
|
'light client': 'light://substrate-connect/westend'
|
|
},
|
|
teleport: [1000, 1002],
|
|
linked: [
|
|
...testParasWestendCommon,
|
|
...testParasWestend
|
|
]
|
|
};
|