ghost-portal/packages/app-settings/src/available/endpoints.ts
2020-02-10 18:51:21 +01:00

49 lines
1.3 KiB
TypeScript

// Copyright 2017-2020 @polkadot/app-settings authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { Option } from '../types';
export default [
{
info: 'kusama',
text: 'Kusama (Polkadot Canary, hosted by Parity)',
value: 'wss://kusama-rpc.polkadot.io/'
},
{
info: 'kusama',
text: 'Kusama (Polkadot Canary, hosted by Web3 Foundation)',
value: 'wss://cc3-5.kusama.network/'
},
{
info: 'westend',
text: 'Westend (Polkadot Testnet, hosted by Parity)',
value: 'wss://westend-rpc.polkadot.io'
},
{
info: 'edgeware',
text: 'Edgeware (Edgeware Mainnet, hosted by Commonwealth Labs)',
value: 'wss://mainnet1.edgewa.re'
},
{
info: 'edgeware',
text: 'Berlin (Edgeware Testnet, hosted by Commonwealth Labs)',
value: 'wss://berlin1.edgewa.re'
},
{
info: 'substrate',
text: 'Flaming Fir (Substrate Testnet, hosted by Parity)',
value: 'wss://substrate-rpc.parity.io/'
},
{
info: 'substrate',
text: 'Kulupu (Kulupu Mainnet, hosted by Kulupu)',
value: 'wss://rpc.kulupu.network/ws'
},
{
info: 'local',
text: 'Local Node (Own, 127.0.0.1:9944)',
value: 'ws://127.0.0.1:9944/'
}
].map((option): Option => ({ ...option, withI18n: true }));