Browse Source

axo, btch, etomic native

v0.25
pbca26 7 years ago
parent
commit
e4bf3fb96d
  1. 19
      react/package.json
  2. BIN
      react/src/assets/images/20.jpg
  3. BIN
      react/src/assets/images/android-chrome-192x192.png
  4. BIN
      react/src/assets/images/cryptologo/axo.png
  5. BIN
      react/src/assets/images/cryptologo/btch.png
  6. BIN
      react/src/assets/images/cryptologo/chips (copy).png
  7. BIN
      react/src/assets/images/cryptologo/etomic.png
  8. BIN
      react/src/assets/images/easydex-logo-dashboard-white.png
  9. BIN
      react/src/assets/images/easydex-logo-dashboard.png
  10. BIN
      react/src/assets/images/favicon-16x16.png
  11. BIN
      react/src/assets/images/favicon-194x194.png
  12. BIN
      react/src/assets/images/favicon-32x32.png
  13. BIN
      react/src/assets/images/favicon-96x96.png
  14. BIN
      react/src/assets/images/iguana_profile_02.jpg
  15. BIN
      react/src/assets/images/supernet-iguana-logo-big.png
  16. BIN
      react/src/assets/images/supernet-iguana-logo-white.png
  17. BIN
      react/src/assets/images/supernet-iguana-logo.png
  18. 5
      react/src/components/addcoin/addcoinOptionsAC.js
  19. 37
      react/src/components/addcoin/payload.js
  20. 12
      react/src/components/dashboard/coinTile/coinTileItem.render.js
  21. 2
      react/src/components/dashboard/navbar/navbar.render.js
  22. 4
      react/src/translate/en.js
  23. 20
      react/src/util/coinHelper.js

19
react/package.json

@ -1,6 +1,6 @@
{
"name": "AgamaGUI",
"version": "0.0.1",
"version": "0.0.26",
"description": "Agama Wallet GUI",
"main": "src/index.js",
"scripts": {
@ -17,19 +17,18 @@
"e2e": "protractor",
"e2e-live": "protractor --elementExplorer"
},
"repository": "https://github.com/KomodoPlatform/EasyDEX-GUI",
"homepage": "http://supernet.org",
"keywords": [
"react",
"webpack",
"babel",
"minimal",
"starter"
"agama",
"SuperNET",
"komodo",
"multicoin",
"wallet",
"spv"
],
"author": "SuperNET Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/SuperNETorg/EasyDEX-GUI.git"
},
"dependencies": {
"babel-core": "^6.14.0",
"babel-loader": "^6.2.5",

BIN
react/src/assets/images/20.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

BIN
react/src/assets/images/android-chrome-192x192.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
react/src/assets/images/cryptologo/chips (copy).png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
react/src/assets/images/easydex-logo-dashboard-white.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

BIN
react/src/assets/images/easydex-logo-dashboard.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

BIN
react/src/assets/images/favicon-16x16.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 548 B

BIN
react/src/assets/images/favicon-194x194.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

BIN
react/src/assets/images/favicon-32x32.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
react/src/assets/images/favicon-96x96.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

BIN
react/src/assets/images/iguana_profile_02.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

BIN
react/src/assets/images/supernet-iguana-logo-big.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

BIN
react/src/assets/images/supernet-iguana-logo-white.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

BIN
react/src/assets/images/supernet-iguana-logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

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

@ -20,11 +20,14 @@ const addCoinOptionsAC = () => {
'mshark',
'supernet',
'wlc',
'axo',
'etomic',
'btch'
];
let _items = [];
for (let i = 0; i < _assetChains.length; i++) {
let availableModes = _assetChains[i] !== 'kv' && _assetChains[i] !== 'mgw' ? 'spv|native' : 'native';
let availableModes = _assetChains[i] !== 'kv' && _assetChains[i] !== 'mgw' && _assetChains[i] !== 'axo' && _assetChains[i] !== 'etomic' && _assetChains[i] !== 'btch' ? 'spv|native' : 'native';
if (mainWindow.arch !== 'x64') {
availableModes = 'spv';

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

@ -20,6 +20,10 @@ export function checkAC(coinVal) {
coinVal === 'KV' ||
coinVal === 'CEAL' ||
coinVal === 'MESH' ||
coinVal === 'MNZ' ||
coinVal === 'AXO' ||
coinVal === 'ETOMIC' ||
coinVal === 'BTCH' ||
coinVal === 'USD' ||
coinVal === 'RON' ||
coinVal === 'EUR' ||
@ -51,7 +55,6 @@ export function checkAC(coinVal) {
coinVal === 'THB' ||
coinVal === 'BGN' ||
coinVal === 'IDR' ||
coinVal === 'MNZ' ||
coinVal === 'HRK') {
return true;
} else {
@ -112,26 +115,15 @@ export function checkCoinType(coin) {
coin === 'CEAL' ||
coin === 'MESH' ||
coin === 'WLC' ||
coin === 'MNZ') {
coin === 'MNZ' ||
coin === 'AXO' ||
coin === 'ETOMIC' ||
coin === 'BTCH') {
return 'ac';
}
if (coin === 'BTC' ||
coin === 'BTCD' ||
coin === 'LTC' ||
coin === 'DOGE' ||
coin === 'DGB' ||
coin === 'MZC' ||
coin === 'SYS' ||
coin === 'UNO' ||
coin === 'BTM' ||
coin === 'CARB' ||
coin === 'ANC' ||
coin === 'FRK' ||
coin === 'GAME' ||
coin === 'ZEC' ||
coin === 'KMD' ||
coin === 'ZET') {
if (coin === 'ZEC' ||
coin === 'KMD') {
return 'crypto';
}
}
@ -200,6 +192,15 @@ export function startAssetChain(confpath, coin, mode, getSuppyOnly) {
MNZ: {
supply: 257142858,
},
AXO: {
supply: 200000000,
},
ETOMIC: {
supply: 100000000,
},
BTCH: {
supply: 20998641,
},
};
if (mode === '-1') {

12
react/src/components/dashboard/coinTile/coinTileItem.render.js

@ -48,18 +48,6 @@ const CoinTileItemRender = function() {
</ul>
</div>
}
{ /*this.renderStopCoinButton() &&
<i
onClick={ () => this.stopCoind(item.coin, item.mode) }
title={ translate('DASHBOARD.STOP') }
className="icon fa-stop-circle coind-stop-icon"></i>*/
}
{ /*this.renderRemoveCoinButton() &&
<i
onClick={ () => this.removeCoin(item.coin, item.mode) }
title={ translate('DASHBOARD.REMOVE') }
className={ 'icon fa-plus-circle coind-remove-icon' + (item.mode === 'spv' ? ' coind-remove-icon-spv' : '') }></i>*/
}
{ this.props.Dashboard &&
this.props.Dashboard.electrumCoins &&
this.props.Dashboard.electrumCoins[item.coin] &&

2
react/src/components/dashboard/navbar/navbar.render.js

@ -99,7 +99,7 @@ const NavbarRender = function() {
<a className="navbar-avatar dropdown-toggle">
<span className="navbar-avatar-inner">
<i
title="top menu"
title={ translate('INDEX.TOP_MENU') }
className="icon fa-bars"></i>
</span>
</a>

4
react/src/translate/en.js

@ -96,6 +96,7 @@ export const LANG_EN = {
'NO_ACTIVE_COIN': 'No active coin',
},
'INDEX': {
'TOP_MENU': 'Top menu',
'ERROR_READING': 'Error reading',
'SHOW': 'Show',
'SPV_SERVER_IP': 'Server IP',
@ -828,6 +829,9 @@ export const LANG_EN = {
'MESH': 'SpaceMesh (MESH)',
'SUPERNET': 'SUPERNET (SUPERNET)',
'WLC': 'WIRELESS (WIRELESS)',
'AXO': 'AXO (AXO)',
'ETOMIC': 'ETOMIC (ETOMIC)',
'BTCH': 'BTCH (BTCH)',
},
'DEX': {
'GEN_NEW_PASSPHRASE': 'Generate a new passphrase',

20
react/src/util/coinHelper.js

@ -220,6 +220,18 @@ export function getCoinTitle(coin) {
coinlogo = 'MESH';
coinname = 'SpaceMesh';
break;
case 'AXO':
coinlogo = 'AXO';
coinname = 'AXO';
break;
case 'ETOMIC':
coinlogo = 'ETOMIC';
coinname = 'ETOMIC';
break;
case 'BTCH':
coinlogo = 'BTCH';
coinname = 'BTCH';
break;
case 'USD':
titleBG = true;
transparentBG = true;
@ -470,6 +482,9 @@ export function coindList() {
'MESH',
'SUPERNET',
'WLC',
'AXO',
'ETOMIC',
'BTCH'
];
return _coins;
@ -495,7 +510,10 @@ export const isKomodoCoin = (coin) => {
coin === 'WLC' ||
coin === 'MNZ' ||
coin === 'CHIPS' ||
coin === 'KMD') {
coin === 'KMD' ||
coin === 'AXO',
coin === 'ETOMIC',
coin === 'BTCH') {
return true;
}
}
Loading…
Cancel
Save