Skip to content

Commit

Permalink
Mainnet
Browse files Browse the repository at this point in the history
+ Update of index.html because of a unintended copy paste of an other project JS into this project. No security issue has happen.
  • Loading branch information
Viper committed Aug 16, 2021
1 parent 6f9aff5 commit 8118cbe
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

<body>
<div id="app"></div>
<script src="/client.min.js?v=14.6"></script>
<script src="/client.min.js?v=14.7"></script>
</body>

</html>
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Crypto.red wallet

* Bitcoin [TESTNET]
* Dash [TESTNET]
* Dogecoin [TESTNET]
* Litecoin [TESTNET]
* Bitcoin [MAINNET]
* Dash [MAINNET]
* Dogecoin [MAINNET]
* Litecoin [MAINNET]
* Vsystems [MAINNET]

Discussions -> [CLICK HERE](https://github.com/crypto-red/crypto-red.github.io/discussions)
Expand Down
2 changes: 1 addition & 1 deletion client.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version": 2,
"version": "0.0.13",
"version": "0.14.7",
"name": "WALLET.CRYPTO.RED",
"start_url": "/",
"scope": "/",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "wallet.crypto.red",
"version": "0.0.1",
"description": "C-Wallet application",
"main": "index.html",
"version": "0.0.2",
"description": "C.R.W application",
"main": "/",
"dependencies": {
"@date-io/date-fns": "^1.3.13",
"@material-ui/core": "^4.11.3",
Expand Down
4 changes: 2 additions & 2 deletions service-worker.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var CACHE = "network-or-cache-v14.6";
var CACHE = "network-or-cache-v14.7";

// On install, cache some resource.
self.addEventListener("install", function(evt) {
Expand All @@ -10,7 +10,7 @@ self.addEventListener("install", function(evt) {
cache.addAll([
"/",
"/404.html",
"/client.min.js?v=14.6",
"/client.min.js?v=14.7",
"src/fonts/Cantarell-Regular.ttf",
"src/fonts/OpenSans-Regular.ttf",
"src/fonts/Saira-Regular.ttf",
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/AccountCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class AccountCard extends React.Component {
this.setState({_balance});
}else {

actions.trigger_snackbar(t( "account_card.crypto_balance_error", {crypto_id}));
actions.trigger_snackbar(t( "components.account_card.crypto_balance_error", {crypto_id}));
}
};

Expand Down
42 changes: 21 additions & 21 deletions src/js/utils/api-btc-dash-doge-ltc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,37 @@ function _get_network_by_coin_id(coin_id) {

switch (coin_id) {
case "bitcoin":
NEW_NETWORK = coininfo.bitcoin.test.toBitcoinJS();
NEW_NETWORK = coininfo.bitcoin.main.toBitcoinJS();
break;
case "dash":
NEW_NETWORK = coininfo.dash.test.toBitcoinJS();
NEW_NETWORK = coininfo.dash.main.toBitcoinJS();
break;
case "dogecoin":
NEW_NETWORK = {
messagePrefix: '\x19Dogecoin Signed Message:\n',
messagePrefix: '\x19Dogecoin Signed Message:\n', // Main
bip32: {
public: 0x02facafd,
private: 0x02fac398
},
pubKeyHash: 0x1e,
scriptHash: 0x16,
wif: 0x9e
};
break;
/*
{
messagePrefix: '\x19Dogecoin Signed Message:\n', // Test
bip32: {
public: 0x043587cf,
private: 0x04358394
},
pubKeyHash: 0x71,
scriptHash: 0xc4,
wif: 0xf1
};
break;
/*
{
messagePrefix: '\x19Dogecoin Signed Message:\n',
bip32: {
public: 0x02facafd,
private: 0x02fac398
},
pubKeyHash: 0x1e,
scriptHash: 0x16,
wif: 0x9e
}
}
*/
case "litecoin":
NEW_NETWORK = coininfo.litecoin.test.toBitcoinJS();
NEW_NETWORK = coininfo.litecoin.main.toBitcoinJS();
break;
}

Expand All @@ -63,13 +63,13 @@ function _get_network_name_by_coin_id(coin_id) {

switch (coin_id) {
case "bitcoin":
return "BTCTEST";
return "BTC";
case "dash":
return "DASHTEST";
return "DASH";
case "dogecoin":
return "DOGETEST";
return "DOGE";
case "litecoin":
return "LTCTEST";
return "LTC";
}
}

Expand Down

0 comments on commit 8118cbe

Please sign in to comment.