Browse Source

mnz ac native

v0.25
pbca26 8 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', 'kv',
'mgw', 'mgw',
//'mvp', //'mvp',
'mnz',
'pangea', 'pangea',
'revs', 'revs',
'shark', 'shark',

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

@ -50,6 +50,7 @@ export function checkAC(coinVal) {
coinVal === 'THB' || coinVal === 'THB' ||
coinVal === 'BGN' || coinVal === 'BGN' ||
coinVal === 'IDR' || coinVal === 'IDR' ||
coinVal === 'MNZ' ||
coinVal === 'HRK') { coinVal === 'HRK') {
return true; return true;
} else { } else {
@ -109,7 +110,8 @@ export function checkCoinType(coin) {
coin === 'KV' || coin === 'KV' ||
coin === 'CEAL' || coin === 'CEAL' ||
coin === 'MESH' || coin === 'MESH' ||
coin === 'WLC') { coin === 'WLC' ||
coin === 'MNZ') {
return 'ac'; return 'ac';
} }
@ -495,6 +497,11 @@ export function startAssetChain(confpath, coin, mode, getSuppyOnly) {
'supply': 72000000, '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}) : {}, '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') { if (mode === '-1') {

2
react/src/translate/en.js

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

4
react/src/util/coinHelper.js

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

Loading…
Cancel
Save