Add polkadot and kusama endpoints hosted by PatractLabs (#4142)

* add patractlabs endpoint for polkadot

* add patractlabs endpoint for polkadot

* add kusama endpoint hosted by patractlabs

* add kusama endpoints hosted by patractlabs

* fix indentations of 4 spaces

* Update endpoints.ts
This commit is contained in:
toxotguo 2020-12-03 17:17:51 +08:00 committed by GitHub
parent a27224de02
commit 65bef235cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

View File

@ -74,6 +74,12 @@ function createLiveNetworks (t: TFunction): LinkOption[] {
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'OnFinality' } }),
value: 'wss://polkadot.api.onfinality.io/public-ws'
},
{
info: 'polkadot',
text: t('rpc.polkadot.patractlabs', 'Polkadot', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Patract Elara' } }),
value: 'wss://polkadot.elara.patract.io'
},
{
dnslink: 'kusama',
info: 'kusama',
@ -93,6 +99,12 @@ function createLiveNetworks (t: TFunction): LinkOption[] {
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'OnFinality' } }),
value: 'wss://kusama.api.onfinality.io/public-ws'
},
{
info: 'kusama',
text: t('rpc.kusama.patractlabs', 'Kusama', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Patract Elara' } }),
value: 'wss://kusama.elara.patract.io'
},
{
info: 'kusama',
isDisabled: true,

View File

@ -28,6 +28,7 @@
"rpc.kilt": "Mashnet",
"rpc.kulupu": "Kulupu",
"rpc.kusama.ava": "Kusama",
"rpc.kusama.patractlabs": "Kusama",
"rpc.kusama.onfinality": "Kusama",
"rpc.kusama.parity": "Kusama",
"rpc.kusama.w3f": "Kusama",
@ -38,6 +39,7 @@
"rpc.nodle-main": "Nodle Main",
"rpc.phala": "Phala PoC-2",
"rpc.plasm": "Plasm",
"rpc.polkadot.patractlabs": "Polkadot",
"rpc.polkadot.onfinality": "Polkadot",
"rpc.polkadot.parity": "Polkadot",
"rpc.polkadot.w3f": "Polkadot",
@ -56,4 +58,4 @@
"rpc.turbulence": "Turbulence",
"rpc.westend": "Westend",
"ss58.default": "Default for the connected node"
}
}