diff --git a/react/src/actions/actions/addCoin.js b/react/src/actions/actions/addCoin.js index 7e7b483..9ee368f 100644 --- a/react/src/actions/actions/addCoin.js +++ b/react/src/actions/actions/addCoin.js @@ -149,10 +149,19 @@ export function shepherdHerd(coin, mode, path, startupParams) { '-daemon=0', '-server', `-ac_name=${coin}`, - coin === 'BEER' || coin === 'PIZZA' ? '-addnode=24.54.206.138' : '-addnode=78.47.196.146', + '-addnode=78.47.196.146', ], }; + if (coin === 'BEER' || + coin === 'PIZZA') { + herdData['ac_options'].pop(); + herdData['ac_options'].push('-addnode=24.54.206.138'); + } else if (coin === 'NINJA') { + herdData['ac_options'].pop(); + herdData['ac_options'].push('-addnode=192.241.134.19'); + } + if (coin === 'ZEC') { herdData = { 'ac_name': 'zcashd', diff --git a/react/src/actions/actions/electrum.js b/react/src/actions/actions/electrum.js index 4f08e8b..b442089 100644 --- a/react/src/actions/actions/electrum.js +++ b/react/src/actions/actions/electrum.js @@ -14,7 +14,7 @@ import Store from '../../store'; // src: atomicexplorer export function shepherdGetRemoteBTCFees() { return new Promise((resolve, reject) => { - fetch(`http://atomicexplorer.com/api/btc/fees`, { + fetch(`https://atomicexplorer.com/api/btc/fees`, { method: 'GET', headers: { 'Content-Type': 'application/json', diff --git a/react/src/actions/actions/prices.js b/react/src/actions/actions/prices.js index 177f58a..48e8d21 100644 --- a/react/src/actions/actions/prices.js +++ b/react/src/actions/actions/prices.js @@ -4,7 +4,7 @@ import Config from '../../config'; function fiatRates(pricesJson) { return dispatch => { - return fetch(`http://atomicexplorer.com/api/rates/kmd`, { + return fetch(`https://atomicexplorer.com/api/rates/kmd`, { method: 'GET', }) .catch((error) => { @@ -29,7 +29,7 @@ function fiatRates(pricesJson) { export function prices() { return dispatch => { - return fetch(`http://atomicexplorer.com/api/mm/prices`, { + return fetch(`https://atomicexplorer.com/api/mm/prices`, { method: 'GET', }) .catch((error) => { diff --git a/react/src/assets/images/cryptologo/ninja.png b/react/src/assets/images/cryptologo/ninja.png new file mode 100644 index 0000000..bf38d87 Binary files /dev/null and b/react/src/assets/images/cryptologo/ninja.png differ diff --git a/react/src/assets/images/cryptologo/vote.png b/react/src/assets/images/cryptologo/vote2018.png similarity index 100% rename from react/src/assets/images/cryptologo/vote.png rename to react/src/assets/images/cryptologo/vote2018.png diff --git a/react/src/components/addcoin/addcoinOptionsAC.js b/react/src/components/addcoin/addcoinOptionsAC.js index a18f2bb..2216ca1 100644 --- a/react/src/components/addcoin/addcoinOptionsAC.js +++ b/react/src/components/addcoin/addcoinOptionsAC.js @@ -13,7 +13,6 @@ const addCoinOptionsAC = () => { 'jumblr', 'kv', 'mgw', - //'mvp', 'mnz', 'pangea', 'revs', @@ -25,7 +24,8 @@ const addCoinOptionsAC = () => { 'btch', 'beer', 'pizza', - 'vote' + 'vote2018', + 'ninja' ]; let _items = []; diff --git a/react/src/components/addcoin/addcoinOptionsCrypto.js b/react/src/components/addcoin/addcoinOptionsCrypto.js index 8039932..6c91011 100644 --- a/react/src/components/addcoin/addcoinOptionsCrypto.js +++ b/react/src/components/addcoin/addcoinOptionsCrypto.js @@ -36,11 +36,11 @@ const addCoinOptionsCrypto = () => { label: 'Dash (DASH)', icon: 'DASH', value: `DASH|spv`, - }, /*{ + }, { label: 'Denarius (DNR)', icon: 'DNR', value: `DNR|spv`, - },*/ { + }, { label: 'DigiByte (DGB)', icon: 'DGB', value: `DGB|spv`, diff --git a/react/src/components/addcoin/payload.js b/react/src/components/addcoin/payload.js index 81bd8c9..7148b40 100644 --- a/react/src/components/addcoin/payload.js +++ b/react/src/components/addcoin/payload.js @@ -26,7 +26,7 @@ export function checkAC(coinVal) { coinVal === 'BTCH' || coinVal === 'BEER' || coinVal === 'PIZZA' || - coinVal === 'VOTE') { + coinVal === 'VOTE2018') { return true; } else { return false; @@ -112,8 +112,11 @@ export function startAssetChain(confpath, coin, mode, getSuppyOnly) { PIZZA: { supply: 100000000, }, - VOTE: { - supply: 49999999999, + VOTE2018: { + supply: 600000000, + }, + NINJA: { + supply: 100000000, }, }; diff --git a/react/src/components/dashboard/coinTile/coinTileItem.render.js b/react/src/components/dashboard/coinTile/coinTileItem.render.js index 259c284..e01d158 100644 --- a/react/src/components/dashboard/coinTile/coinTileItem.render.js +++ b/react/src/components/dashboard/coinTile/coinTileItem.render.js @@ -58,20 +58,27 @@ const CoinTileItemRender = function() { this.props.Dashboard.electrumCoins[item.coin] && this.props.Dashboard.electrumCoins[item.coin].serverList && this.props.Dashboard.electrumCoins[item.coin].serverList === 'none' && - + + + + } { this.renderCoinConError(item) && !this.props.ActiveCoin.rescanInProgress && - + + + + } - ); }; diff --git a/react/src/components/dashboard/notaryElectionsModal/notaryElectionsModal.js b/react/src/components/dashboard/notaryElectionsModal/notaryElectionsModal.js index 87509f6..43e2ae4 100755 --- a/react/src/components/dashboard/notaryElectionsModal/notaryElectionsModal.js +++ b/react/src/components/dashboard/notaryElectionsModal/notaryElectionsModal.js @@ -535,7 +535,7 @@ class NotaryElectionsModal extends React.Component { Logout } -
+ {/*
this.setUserType('voter') }>I'm a voter @@ -543,7 +543,7 @@ class NotaryElectionsModal extends React.Component { this.setUserType('candidate') }>I'm a candidate -
+
*/} { !this.state.isAuth &&