mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-14 12:05:45 +00:00
Add prefixes to settings (#158)
This commit is contained in:
@@ -47,6 +47,13 @@ const LOCKING: Options = [
|
||||
{ text: 'On each transaction', value: 'tx' }
|
||||
];
|
||||
|
||||
const PREFIXES: Options = [
|
||||
{ text: 'Default for the connected node', value: -1 },
|
||||
{ text: 'Substrate (development)', value: 42 },
|
||||
{ text: 'Kusama (canary)', value: 2 },
|
||||
{ text: 'Polkadot (live)', value: 0 }
|
||||
];
|
||||
|
||||
const UIMODES: Options = [
|
||||
{ value: 'full', text: 'Fully featured' },
|
||||
{ value: 'light', text: 'Basic features only' }
|
||||
@@ -61,6 +68,8 @@ const ENDPOINT_DEFAULT = isPolkadot
|
||||
? WSS_NODES.parity.nodes.alex
|
||||
: WSS_NODES.parity.nodes.elm;
|
||||
|
||||
const PREFIX_DEFAULT = -1;
|
||||
|
||||
const UITHEME_DEFAULT = isPolkadot
|
||||
? 'polkadot'
|
||||
: 'substrate';
|
||||
@@ -78,6 +87,8 @@ export {
|
||||
LANGUAGES,
|
||||
LOCKING_DEFAULT,
|
||||
LOCKING,
|
||||
PREFIX_DEFAULT,
|
||||
PREFIXES,
|
||||
UIMODE_DEFAULT,
|
||||
UIMODES,
|
||||
UITHEME_DEFAULT,
|
||||
|
||||
Reference in New Issue
Block a user