Browse Source

spv xmy, zcl

v0.25
pbca26 7 years ago
parent
commit
04de9aa175
  1. 8
      react/src/components/addcoin/addcoinOptionsCrypto.js
  2. 2
      react/src/components/addcoin/payload.js
  3. 8
      react/src/util/coinHelper.js

8
react/src/components/addcoin/addcoinOptionsCrypto.js

@ -88,6 +88,14 @@ const addCoinOptionsCrypto = () => {
label: 'Hush (HUSH)', label: 'Hush (HUSH)',
icon: 'HUSH', icon: 'HUSH',
value: `HUSH|spv`, value: `HUSH|spv`,
}, {
label: 'Zclassic (ZCL)',
icon: 'ZCL',
value: `ZCL|spv`,
}, {
label: 'Myriad (XMY)',
icon: 'XMY',
value: `XMY|spv`,
}); });
} }

2
react/src/components/addcoin/payload.js

@ -135,7 +135,7 @@ export function startCurrencyAssetChain(confpath, coin, mode) {
} }
export function startAssetChain(confpath, coin, mode, getSuppyOnly) { export function startAssetChain(confpath, coin, mode, getSuppyOnly) {
let assetChainPorts = window.require('electron').remote.getCurrentWindow().assetChainPorts; const assetChainPorts = window.require('electron').remote.getCurrentWindow().assetChainPorts;
const acConfig = { const acConfig = {
SUPERNET: { SUPERNET: {

8
react/src/util/coinHelper.js

@ -6,6 +6,14 @@ export function getCoinTitle(coin) {
let hideTitle = false; let hideTitle = false;
switch (coin) { switch (coin) {
case 'XMY':
coinlogo = 'xmy';
coinname = 'Myriad';
break;
case 'ZCL':
coinlogo = 'zcl';
coinname = 'Zclassic';
break;
case 'HUSH': case 'HUSH':
coinlogo = 'hush'; coinlogo = 'hush';
coinname = 'Hush'; coinname = 'Hush';

Loading…
Cancel
Save