Add Neatcoin mainnet endpoint (#5184)
This commit is contained in:
parent
0fbca9dd60
commit
931bbc7fd4
@ -46,6 +46,7 @@ import litentry from './litentry';
|
||||
import manta from './manta';
|
||||
import moonbeam from './moonbeam';
|
||||
import mybank from './mybank';
|
||||
import neatcoin from './neatcoin';
|
||||
import nftmart from './nftmart';
|
||||
import nodle from './nodle';
|
||||
import parami from './parami';
|
||||
@ -139,6 +140,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
moonbeam,
|
||||
'moonbeam-standalone': moonbeam,
|
||||
'mybank.network Testnet': mybank,
|
||||
neatcoin,
|
||||
nft: unique,
|
||||
nftmart,
|
||||
'node-moonbeam': moonbeam,
|
||||
|
||||
20
packages/apps-config/src/api/spec/neatcoin.ts
Normal file
20
packages/apps-config/src/api/spec/neatcoin.ts
Normal file
@ -0,0 +1,20 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
NameHash: 'H256'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@ -119,6 +119,13 @@ export function createProduction (t: TFunction): LinkOption[] {
|
||||
'Patract Elara': 'wss://kulupu.elara.patract.io'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'neatcoin',
|
||||
text: t('rpc.neatcoin', 'Neatcoin', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
Neatcoin: 'wss://rpc.neatcoin.org/ws'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'nodle',
|
||||
text: t('rpc.nodle-main', 'Nodle', { ns: 'apps-config' }),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user