Browse Source

mnz ac native

v0.25
pbca26 7 years ago
parent
commit
0c7363e2cd
  1. BIN
      react/src/assets/images/cryptologo/mnz.png
  2. 1
      react/src/components/addcoin/addcoinOptionsAC.js
  3. 9
      react/src/components/addcoin/payload.js
  4. 2
      react/src/translate/en.js
  5. 4
      react/src/util/coinHelper.js

BIN
react/src/assets/images/cryptologo/mnz.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

1
react/src/components/addcoin/addcoinOptionsAC.js

@ -15,6 +15,7 @@ class AddCoinOptionsAC extends React.Component {
'kv',
'mgw',
//'mvp',
'mnz',
'pangea',
'revs',
'shark',

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

@ -50,6 +50,7 @@ export function checkAC(coinVal) {
coinVal === 'THB' ||
coinVal === 'BGN' ||
coinVal === 'IDR' ||
coinVal === 'MNZ' ||
coinVal === 'HRK') {
return true;
} else {
@ -109,7 +110,8 @@ export function checkCoinType(coin) {
coin === 'KV' ||
coin === 'CEAL' ||
coin === 'MESH' ||
coin === 'WLC') {
coin === 'WLC' ||
coin === 'MNZ') {
return 'ac';
}
@ -495,6 +497,11 @@ export function startAssetChain(confpath, coin, mode, getSuppyOnly) {
'supply': 72000000,
'AddCoinData': confpath ? Object.assign({}, _acPayloadOrigin, {'coin':'COQUI','conf':'COQUI.conf','path':confpath,'RELAY':-1,'VALIDATE':1,'startpend':4,'endpend':4,'maxpeers':8,'newcoin':'COQUI','name':'COQUI','netmagic':'4cbd5ef4','p2p':assetChainPorts.COQUI - 1,'rpc':assetChainPorts.COQUI}) : {},
},
'MNZ': {
'name': 'MNZ',
'supply': 257142858,
'AddCoinData': confpath ? Object.assign({}, _acPayloadOrigin, {'coin':'MNZ','conf':'MNZ.conf','path':confpath,'RELAY':-1,'VALIDATE':1,'startpend':4,'endpend':4,'maxpeers':8,'newcoin':'MNZ','name':'MNZ','netmagic':'4cbd5ef4','p2p':assetChainPorts.MNZ - 1,'rpc':assetChainPorts.MNZ}) : {},
},
};
if (mode === '-1') {

2
react/src/translate/en.js

@ -678,6 +678,7 @@ export const _lang = {
'KV': 'KV (KV)',
'MGW': 'MultiGateway (MGW)',
'MVP': 'MVP Lineup (MVP)',
'MNZ': 'Monaize (MNZ)',
'PANGEA': 'PANGEA (PANGEA)',
'REVS': 'REVS (REVS)',
'SHARK': 'SHARK (SHARK)',
@ -685,6 +686,5 @@ export const _lang = {
'SUPERNET': 'SUPERNET (SUPERNET)',
'WLC': 'WIRELESS (WIRELESS)',
},
// 'CHIPS': 'CHIPS (CHIPS)',
},
};

4
react/src/util/coinHelper.js

@ -62,6 +62,10 @@ export function getCoinTitle(coin) {
coinlogo = 'zetacoin';
coinname = 'Zetacoin';
break;
case 'MNZ':
coinlogo = 'mnz';
coinname = 'Monaize';
break;
case 'KMD':
hideTitle = true;
titleBG = true;

Loading…
Cancel
Save