add onfinality endpoint for polkadot and kusama (#4070)

This commit is contained in:
Ian He 2020-11-25 22:06:22 +13:00 committed by GitHub
parent b602d9e52b
commit 5e9807112b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,6 +68,12 @@ function createLiveNetworks (t: TFunction): LinkOption[] {
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Web3 Foundation' } }),
value: 'wss://cc1-1.polkadot.network'
},
{
info: 'polkadot',
text: t('rpc.polkadot.onfinality', 'Polkadot', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'OnFinality' } }),
value: 'wss://polkadot.api.onfinality.io/public-ws'
},
{
dnslink: 'kusama',
info: 'kusama',
@ -81,6 +87,12 @@ function createLiveNetworks (t: TFunction): LinkOption[] {
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Web3 Foundation' } }),
value: 'wss://cc3-5.kusama.network'
},
{
info: 'kusama',
text: t('rpc.kusama.onfinality', 'Kusama', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'OnFinality' } }),
value: 'wss://kusama.api.onfinality.io/public-ws'
},
{
info: 'kusama',
isDisabled: true,