ghost-portal/packages/apps-config/src/endpoints/testingRelayPaseo.ts
Alessandro Siniscalchi d536c6dff5
[paseo] LAOS Omega added (#10440)
* on paseo

* added logo laos-omega

* adding icon

* update logo

* update node provider

* undo change in yarn.lock

* undo change in yarn.lock
2024-04-08 09:22:32 -04:00

141 lines
3.8 KiB
TypeScript

// Copyright 2017-2024 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { EndpointOption } from './types.js';
import { chainsFrequencyPaseoSVG, chainsLaosOmegaPNG, chainsPaseoPNG, chainsPopNetworkSVG } from '@polkadot/apps-config/ui/logos/chains';
import { nodesIntegriteeSVG, nodesNodleSVG } from '@polkadot/apps-config/ui/logos/nodes';
import { PASEO_GENESIS } from '../api/constants.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
// }
// }
{
homepage: 'https://www.frequency.xyz',
info: 'Frequency',
paraId: 4000,
providers: {
'Amplica Labs': 'wss://0.rpc.testnet.amplica.io'
},
text: 'Frequency',
ui: {
color: '#19455E',
logo: chainsFrequencyPaseoSVG
}
},
{
homepage: 'https://integritee.network',
info: 'integritee',
paraId: 2039,
providers: {
Integritee: 'wss://paseo.api.integritee.network'
},
text: 'Integritee Network (Paseo)',
ui: {
color: '#658ea9',
logo: nodesIntegriteeSVG
}
},
{
homepage: 'https://laosnetwork.io/',
info: 'laos-omega',
paraId: 4006,
providers: {
'freeverse.io': 'wss://rpc.laosomega.laosfoundation.io'
},
text: 'Laos Omega',
ui: {
color: '#f7f4e7',
logo: chainsLaosOmegaPNG
}
},
{
homepage: 'https://www.nodle.com/',
info: 'NodleParadis',
paraId: 2026,
providers: {
OnFinality: 'wss://node-6957502816543653888.lh.onfinality.io/ws?apikey=09b04494-3139-4b57-a5d1-e1c4c18748ce'
},
text: 'Nodle',
ui: {
color: '#1ab394',
logo: nodesNodleSVG
}
},
{
homepage: 'https://popnetwork.xyz/',
info: 'Pop Network',
paraId: 4001,
providers: {
'R0GUE-RPC1': 'wss://rpc1.paseo.popnetwork.xyz',
'R0GUE-RPC2': 'wss://rpc2.paseo.popnetwork.xyz'
},
text: 'Pop Network',
ui: {
color: '#1C0533',
logo: chainsPopNetworkSVG
}
}
];
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-GeoDNS1': 'wss://rpc.ibp.network/paseo',
'IBP-GeoDNS2': 'wss://rpc.dotters.network/paseo'
// 'light client': 'light://substrate-connect/paseo'
},
teleport: getTeleports(testParasPaseoCommon),
text: 'Paseo',
ui: {
color: '#38393F',
identityIcon: 'polkadot',
logo: chainsPaseoPNG
}
};