Skip to content

Commit

Permalink
add onfinality endpoint for polkadot and kusama
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhe8x committed Nov 20, 2020
1 parent 492a583 commit 3add0de
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/apps-config/src/settings/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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,
Expand Down

0 comments on commit 3add0de

Please sign in to comment.