Add Vodka testnet endpoint (#5175)

This commit is contained in:
Wei Tang 2021-04-30 16:13:23 +02:00 committed by GitHub
parent 7a6286dc36
commit f00ef17c46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 0 deletions

View File

@ -73,6 +73,7 @@ import unique from './unique';
import unitv from './unitv';
import vln from './vln';
import vlnrococo from './vln-rococo';
import vodka from './vodka';
import web3games from './web3games';
import westlake from './westlake';
import zeitgeist from './zeitgeist';
@ -167,6 +168,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
uart,
'unit-node': unitv,
'unit-parachain': unitv,
vodka,
'web3games-node': web3games,
westlake: westlake,
zeitgeist: zeitgeist

View 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;

View File

@ -285,6 +285,13 @@ export function createTesting (t: TFunction): LinkOption[] {
Valiu: 'wss://vln.valiu.dev'
}
},
{
info: 'vodka',
text: t('rpc.vodka', 'Vodka', { ns: 'apps-config' }),
providers: {
Vodka: 'wss://vodka.rpc.neatcoin.org/ws'
}
},
{
info: 'web3games',
text: t('rpc.web3games', 'Web3Games', { ns: 'apps-config' }),