aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bip39-standalone.html66
-rw-r--r--src/js/index.js66
-rw-r--r--tests.js42
3 files changed, 87 insertions, 87 deletions
diff --git a/bip39-standalone.html b/bip39-standalone.html
index 1468fae..a00cb68 100644
--- a/bip39-standalone.html
+++ b/bip39-standalone.html
@@ -44329,7 +44329,7 @@ window.Entropy = new (function() {
44329 indexText = indexText + "'"; 44329 indexText = indexText + "'";
44330 } 44330 }
44331 // Ethereum values are different 44331 // Ethereum values are different
44332 if (networks[DOM.network.val()].name == "Ethereum") { 44332 if (networks[DOM.network.val()].name == "ETH - Ethereum") {
44333 var privKeyBuffer = key.privKey.d.toBuffer(); 44333 var privKeyBuffer = key.privKey.d.toBuffer();
44334 privkey = privKeyBuffer.toString('hex'); 44334 privkey = privKeyBuffer.toString('hex');
44335 var addressBuffer = ethUtil.privateToAddress(privKeyBuffer); 44335 var addressBuffer = ethUtil.privateToAddress(privKeyBuffer);
@@ -44340,7 +44340,7 @@ window.Entropy = new (function() {
44340 pubkey = ethUtil.addHexPrefix(pubkey); 44340 pubkey = ethUtil.addHexPrefix(pubkey);
44341 } 44341 }
44342 // Ripple values are different 44342 // Ripple values are different
44343 if (networks[DOM.network.val()].name == "Ripple") { 44343 if (networks[DOM.network.val()].name == "XRP - Ripple") {
44344 privkey = convertRipplePriv(privkey); 44344 privkey = convertRipplePriv(privkey);
44345 address = convertRippleAdrr(address); 44345 address = convertRippleAdrr(address);
44346 } 44346 }
@@ -44801,21 +44801,21 @@ window.Entropy = new (function() {
44801 44801
44802 var networks = [ 44802 var networks = [
44803 { 44803 {
44804 name: "Bitcoin", 44804 name: "BTC - Bitcoin",
44805 onSelect: function() { 44805 onSelect: function() {
44806 network = bitcoin.networks.bitcoin; 44806 network = bitcoin.networks.bitcoin;
44807 DOM.bip44coin.val(0); 44807 DOM.bip44coin.val(0);
44808 }, 44808 },
44809 }, 44809 },
44810 { 44810 {
44811 name: "Bitcoin Testnet", 44811 name: "BTC - Bitcoin Testnet",
44812 onSelect: function() { 44812 onSelect: function() {
44813 network = bitcoin.networks.testnet; 44813 network = bitcoin.networks.testnet;
44814 DOM.bip44coin.val(1); 44814 DOM.bip44coin.val(1);
44815 }, 44815 },
44816 }, 44816 },
44817 { 44817 {
44818 name: "CLAM", 44818 name: "CLAM - Clams",
44819 onSelect: function() { 44819 onSelect: function() {
44820 network = bitcoin.networks.clam; 44820 network = bitcoin.networks.clam;
44821 DOM.bip44coin.val(23); 44821 DOM.bip44coin.val(23);
@@ -44829,117 +44829,117 @@ window.Entropy = new (function() {
44829 }, 44829 },
44830 }, 44830 },
44831 { 44831 {
44832 name: "Dogecoin", 44832 name: "DASH - Dash",
44833 onSelect: function() {
44834 network = bitcoin.networks.dogecoin;
44835 DOM.bip44coin.val(3);
44836 },
44837 },
44838 {
44839 name: "DASH",
44840 onSelect: function() { 44833 onSelect: function() {
44841 network = bitcoin.networks.dash; 44834 network = bitcoin.networks.dash;
44842 DOM.bip44coin.val(5); 44835 DOM.bip44coin.val(5);
44843 }, 44836 },
44844 }, 44837 },
44845 { 44838 {
44846 name: "DASH Testnet", 44839 name: "DASH - Dash Testnet",
44847 onSelect: function() { 44840 onSelect: function() {
44848 network = bitcoin.networks.dashtn; 44841 network = bitcoin.networks.dashtn;
44849 DOM.bip44coin.val(1); 44842 DOM.bip44coin.val(1);
44850 }, 44843 },
44851 }, 44844 },
44852 { 44845 {
44853 name: "Ethereum", 44846 name: "DOGE - Dogecoin",
44847 onSelect: function() {
44848 network = bitcoin.networks.dogecoin;
44849 DOM.bip44coin.val(3);
44850 },
44851 },
44852 {
44853 name: "ETH - Ethereum",
44854 onSelect: function() { 44854 onSelect: function() {
44855 network = bitcoin.networks.bitcoin; 44855 network = bitcoin.networks.bitcoin;
44856 DOM.bip44coin.val(60); 44856 DOM.bip44coin.val(60);
44857 }, 44857 },
44858 }, 44858 },
44859 { 44859 {
44860 name: "GAME", 44860 name: "GAME - GameCredits",
44861 onSelect: function() { 44861 onSelect: function() {
44862 network = bitcoin.networks.game; 44862 network = bitcoin.networks.game;
44863 DOM.bip44coin.val(101); 44863 DOM.bip44coin.val(101);
44864 }, 44864 },
44865 }, 44865 },
44866 { 44866 {
44867 name: "Jumbucks", 44867 name: "JBS - Jumbucks",
44868 onSelect: function() { 44868 onSelect: function() {
44869 network = bitcoin.networks.jumbucks; 44869 network = bitcoin.networks.jumbucks;
44870 DOM.bip44coin.val(26); 44870 DOM.bip44coin.val(26);
44871 }, 44871 },
44872 }, 44872 },
44873 { 44873 {
44874 name: "Litecoin", 44874 name: "LTC - Litecoin",
44875 onSelect: function() { 44875 onSelect: function() {
44876 network = bitcoin.networks.litecoin; 44876 network = bitcoin.networks.litecoin;
44877 DOM.bip44coin.val(2); 44877 DOM.bip44coin.val(2);
44878 }, 44878 },
44879 }, 44879 },
44880 { 44880 {
44881 name: "Namecoin", 44881 name: "NMC - Namecoin",
44882 onSelect: function() { 44882 onSelect: function() {
44883 network = bitcoin.networks.namecoin; 44883 network = bitcoin.networks.namecoin;
44884 DOM.bip44coin.val(7); 44884 DOM.bip44coin.val(7);
44885 }, 44885 },
44886 }, 44886 },
44887 { 44887 {
44888 name: "Peercoin", 44888 name: "PPC - Peercoin",
44889 onSelect: function() { 44889 onSelect: function() {
44890 network = bitcoin.networks.peercoin; 44890 network = bitcoin.networks.peercoin;
44891 DOM.bip44coin.val(6); 44891 DOM.bip44coin.val(6);
44892 }, 44892 },
44893 }, 44893 },
44894 { 44894 {
44895 name: "Ripple", 44895 name: "SDC - ShadowCash",
44896 onSelect: function() {
44897 network = bitcoin.networks.bitcoin;
44898 DOM.bip44coin.val(144);
44899 },
44900 },
44901 {
44902 name: "ShadowCash",
44903 onSelect: function() { 44896 onSelect: function() {
44904 network = bitcoin.networks.shadow; 44897 network = bitcoin.networks.shadow;
44905 DOM.bip44coin.val(35); 44898 DOM.bip44coin.val(35);
44906 }, 44899 },
44907 }, 44900 },
44908 { 44901 {
44909 name: "ShadowCash Testnet", 44902 name: "SDC - ShadowCash Testnet",
44910 onSelect: function() { 44903 onSelect: function() {
44911 network = bitcoin.networks.shadowtn; 44904 network = bitcoin.networks.shadowtn;
44912 DOM.bip44coin.val(1); 44905 DOM.bip44coin.val(1);
44913 }, 44906 },
44914 }, 44907 },
44915 { 44908 {
44916 name: "Slimcoin", 44909 name: "SLM - Slimcoin",
44917 onSelect: function() { 44910 onSelect: function() {
44918 network = bitcoin.networks.slimcoin; 44911 network = bitcoin.networks.slimcoin;
44919 DOM.bip44coin.val(63); 44912 DOM.bip44coin.val(63);
44920 }, 44913 },
44921 }, 44914 },
44922 { 44915 {
44923 name: "Slimcoin Testnet", 44916 name: "SLM - Slimcoin Testnet",
44924 onSelect: function() { 44917 onSelect: function() {
44925 network = bitcoin.networks.slimcointn; 44918 network = bitcoin.networks.slimcointn;
44926 DOM.bip44coin.val(111); 44919 DOM.bip44coin.val(111);
44927 }, 44920 },
44928 }, 44921 },
44929 { 44922 {
44930 name: "Viacoin", 44923 name: "VIA - Viacoin",
44931 onSelect: function() { 44924 onSelect: function() {
44932 network = bitcoin.networks.viacoin; 44925 network = bitcoin.networks.viacoin;
44933 DOM.bip44coin.val(14); 44926 DOM.bip44coin.val(14);
44934 }, 44927 },
44935 }, 44928 },
44936 { 44929 {
44937 name: "Viacoin Testnet", 44930 name: "VIA - Viacoin Testnet",
44938 onSelect: function() { 44931 onSelect: function() {
44939 network = bitcoin.networks.viacointestnet; 44932 network = bitcoin.networks.viacointestnet;
44940 DOM.bip44coin.val(1); 44933 DOM.bip44coin.val(1);
44941 }, 44934 },
44942 }, 44935 },
44936 {
44937 name: "XRP - Ripple",
44938 onSelect: function() {
44939 network = bitcoin.networks.bitcoin;
44940 DOM.bip44coin.val(144);
44941 },
44942 }
44943 ] 44943 ]
44944 44944
44945 var clients = [ 44945 var clients = [
diff --git a/src/js/index.js b/src/js/index.js
index 2b17515..1e88b70 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -585,7 +585,7 @@
585 indexText = indexText + "'"; 585 indexText = indexText + "'";
586 } 586 }
587 // Ethereum values are different 587 // Ethereum values are different
588 if (networks[DOM.network.val()].name == "Ethereum") { 588 if (networks[DOM.network.val()].name == "ETH - Ethereum") {
589 var privKeyBuffer = key.privKey.d.toBuffer(); 589 var privKeyBuffer = key.privKey.d.toBuffer();
590 privkey = privKeyBuffer.toString('hex'); 590 privkey = privKeyBuffer.toString('hex');
591 var addressBuffer = ethUtil.privateToAddress(privKeyBuffer); 591 var addressBuffer = ethUtil.privateToAddress(privKeyBuffer);
@@ -596,7 +596,7 @@
596 pubkey = ethUtil.addHexPrefix(pubkey); 596 pubkey = ethUtil.addHexPrefix(pubkey);
597 } 597 }
598 // Ripple values are different 598 // Ripple values are different
599 if (networks[DOM.network.val()].name == "Ripple") { 599 if (networks[DOM.network.val()].name == "XRP - Ripple") {
600 privkey = convertRipplePriv(privkey); 600 privkey = convertRipplePriv(privkey);
601 address = convertRippleAdrr(address); 601 address = convertRippleAdrr(address);
602 } 602 }
@@ -1057,21 +1057,21 @@
1057 1057
1058 var networks = [ 1058 var networks = [
1059 { 1059 {
1060 name: "Bitcoin", 1060 name: "BTC - Bitcoin",
1061 onSelect: function() { 1061 onSelect: function() {
1062 network = bitcoin.networks.bitcoin; 1062 network = bitcoin.networks.bitcoin;
1063 DOM.bip44coin.val(0); 1063 DOM.bip44coin.val(0);
1064 }, 1064 },
1065 }, 1065 },
1066 { 1066 {
1067 name: "Bitcoin Testnet", 1067 name: "BTC - Bitcoin Testnet",
1068 onSelect: function() { 1068 onSelect: function() {
1069 network = bitcoin.networks.testnet; 1069 network = bitcoin.networks.testnet;
1070 DOM.bip44coin.val(1); 1070 DOM.bip44coin.val(1);
1071 }, 1071 },
1072 }, 1072 },
1073 { 1073 {
1074 name: "CLAM", 1074 name: "CLAM - Clams",
1075 onSelect: function() { 1075 onSelect: function() {
1076 network = bitcoin.networks.clam; 1076 network = bitcoin.networks.clam;
1077 DOM.bip44coin.val(23); 1077 DOM.bip44coin.val(23);
@@ -1085,117 +1085,117 @@
1085 }, 1085 },
1086 }, 1086 },
1087 { 1087 {
1088 name: "Dogecoin", 1088 name: "DASH - Dash",
1089 onSelect: function() {
1090 network = bitcoin.networks.dogecoin;
1091 DOM.bip44coin.val(3);
1092 },
1093 },
1094 {
1095 name: "DASH",
1096 onSelect: function() { 1089 onSelect: function() {
1097 network = bitcoin.networks.dash; 1090 network = bitcoin.networks.dash;
1098 DOM.bip44coin.val(5); 1091 DOM.bip44coin.val(5);
1099 }, 1092 },
1100 }, 1093 },
1101 { 1094 {
1102 name: "DASH Testnet", 1095 name: "DASH - Dash Testnet",
1103 onSelect: function() { 1096 onSelect: function() {
1104 network = bitcoin.networks.dashtn; 1097 network = bitcoin.networks.dashtn;
1105 DOM.bip44coin.val(1); 1098 DOM.bip44coin.val(1);
1106 }, 1099 },
1107 }, 1100 },
1108 { 1101 {
1109 name: "Ethereum", 1102 name: "DOGE - Dogecoin",
1103 onSelect: function() {
1104 network = bitcoin.networks.dogecoin;
1105 DOM.bip44coin.val(3);
1106 },
1107 },
1108 {
1109 name: "ETH - Ethereum",
1110 onSelect: function() { 1110 onSelect: function() {
1111 network = bitcoin.networks.bitcoin; 1111 network = bitcoin.networks.bitcoin;
1112 DOM.bip44coin.val(60); 1112 DOM.bip44coin.val(60);
1113 }, 1113 },
1114 }, 1114 },
1115 { 1115 {
1116 name: "GAME", 1116 name: "GAME - GameCredits",
1117 onSelect: function() { 1117 onSelect: function() {
1118 network = bitcoin.networks.game; 1118 network = bitcoin.networks.game;
1119 DOM.bip44coin.val(101); 1119 DOM.bip44coin.val(101);
1120 }, 1120 },
1121 }, 1121 },
1122 { 1122 {
1123 name: "Jumbucks", 1123 name: "JBS - Jumbucks",
1124 onSelect: function() { 1124 onSelect: function() {
1125 network = bitcoin.networks.jumbucks; 1125 network = bitcoin.networks.jumbucks;
1126 DOM.bip44coin.val(26); 1126 DOM.bip44coin.val(26);
1127 }, 1127 },
1128 }, 1128 },
1129 { 1129 {
1130 name: "Litecoin", 1130 name: "LTC - Litecoin",
1131 onSelect: function() { 1131 onSelect: function() {
1132 network = bitcoin.networks.litecoin; 1132 network = bitcoin.networks.litecoin;
1133 DOM.bip44coin.val(2); 1133 DOM.bip44coin.val(2);
1134 }, 1134 },
1135 }, 1135 },
1136 { 1136 {
1137 name: "Namecoin", 1137 name: "NMC - Namecoin",
1138 onSelect: function() { 1138 onSelect: function() {
1139 network = bitcoin.networks.namecoin; 1139 network = bitcoin.networks.namecoin;
1140 DOM.bip44coin.val(7); 1140 DOM.bip44coin.val(7);
1141 }, 1141 },
1142 }, 1142 },
1143 { 1143 {
1144 name: "Peercoin", 1144 name: "PPC - Peercoin",
1145 onSelect: function() { 1145 onSelect: function() {
1146 network = bitcoin.networks.peercoin; 1146 network = bitcoin.networks.peercoin;
1147 DOM.bip44coin.val(6); 1147 DOM.bip44coin.val(6);
1148 }, 1148 },
1149 }, 1149 },
1150 { 1150 {
1151 name: "Ripple", 1151 name: "SDC - ShadowCash",
1152 onSelect: function() {
1153 network = bitcoin.networks.bitcoin;
1154 DOM.bip44coin.val(144);
1155 },
1156 },
1157 {
1158 name: "ShadowCash",
1159 onSelect: function() { 1152 onSelect: function() {
1160 network = bitcoin.networks.shadow; 1153 network = bitcoin.networks.shadow;
1161 DOM.bip44coin.val(35); 1154 DOM.bip44coin.val(35);
1162 }, 1155 },
1163 }, 1156 },
1164 { 1157 {
1165 name: "ShadowCash Testnet", 1158 name: "SDC - ShadowCash Testnet",
1166 onSelect: function() { 1159 onSelect: function() {
1167 network = bitcoin.networks.shadowtn; 1160 network = bitcoin.networks.shadowtn;
1168 DOM.bip44coin.val(1); 1161 DOM.bip44coin.val(1);
1169 }, 1162 },
1170 }, 1163 },
1171 { 1164 {
1172 name: "Slimcoin", 1165 name: "SLM - Slimcoin",
1173 onSelect: function() { 1166 onSelect: function() {
1174 network = bitcoin.networks.slimcoin; 1167 network = bitcoin.networks.slimcoin;
1175 DOM.bip44coin.val(63); 1168 DOM.bip44coin.val(63);
1176 }, 1169 },
1177 }, 1170 },
1178 { 1171 {
1179 name: "Slimcoin Testnet", 1172 name: "SLM - Slimcoin Testnet",
1180 onSelect: function() { 1173 onSelect: function() {
1181 network = bitcoin.networks.slimcointn; 1174 network = bitcoin.networks.slimcointn;
1182 DOM.bip44coin.val(111); 1175 DOM.bip44coin.val(111);
1183 }, 1176 },
1184 }, 1177 },
1185 { 1178 {
1186 name: "Viacoin", 1179 name: "VIA - Viacoin",
1187 onSelect: function() { 1180 onSelect: function() {
1188 network = bitcoin.networks.viacoin; 1181 network = bitcoin.networks.viacoin;
1189 DOM.bip44coin.val(14); 1182 DOM.bip44coin.val(14);
1190 }, 1183 },
1191 }, 1184 },
1192 { 1185 {
1193 name: "Viacoin Testnet", 1186 name: "VIA - Viacoin Testnet",
1194 onSelect: function() { 1187 onSelect: function() {
1195 network = bitcoin.networks.viacointestnet; 1188 network = bitcoin.networks.viacointestnet;
1196 DOM.bip44coin.val(1); 1189 DOM.bip44coin.val(1);
1197 }, 1190 },
1198 }, 1191 },
1192 {
1193 name: "XRP - Ripple",
1194 onSelect: function() {
1195 network = bitcoin.networks.bitcoin;
1196 DOM.bip44coin.val(144);
1197 },
1198 }
1199 ] 1199 ]
1200 1200
1201 var clients = [ 1201 var clients = [
diff --git a/tests.js b/tests.js
index e077a33..4f922ce 100644
--- a/tests.js
+++ b/tests.js
@@ -281,7 +281,7 @@ page.open(url, function(status) {
281 $(".phrase").trigger("input"); 281 $(".phrase").trigger("input");
282 $(".network option[selected]").removeAttr("selected"); 282 $(".network option[selected]").removeAttr("selected");
283 $(".network option").filter(function() { 283 $(".network option").filter(function() {
284 return $(this).html() == "Bitcoin Testnet"; 284 return $(this).html() == "BTC - Bitcoin Testnet";
285 }).prop("selected", true); 285 }).prop("selected", true);
286 $(".network").trigger("change"); 286 $(".network").trigger("change");
287 }); 287 });
@@ -311,7 +311,7 @@ page.open(url, function(status) {
311 $(".phrase").trigger("input"); 311 $(".phrase").trigger("input");
312 $(".network option[selected]").removeAttr("selected"); 312 $(".network option[selected]").removeAttr("selected");
313 $(".network option").filter(function() { 313 $(".network option").filter(function() {
314 return $(this).html() == "Litecoin"; 314 return $(this).html() == "LTC - Litecoin";
315 }).prop("selected", true); 315 }).prop("selected", true);
316 $(".network").trigger("change"); 316 $(".network").trigger("change");
317 }); 317 });
@@ -341,7 +341,7 @@ page.open(url, function(status) {
341 $(".phrase").trigger("input"); 341 $(".phrase").trigger("input");
342 $(".network option[selected]").removeAttr("selected"); 342 $(".network option[selected]").removeAttr("selected");
343 $(".network option").filter(function() { 343 $(".network option").filter(function() {
344 return $(this).html() == "Ripple"; 344 return $(this).html() == "XRP - Ripple";
345 }).prop("selected", true); 345 }).prop("selected", true);
346 $(".network").trigger("change"); 346 $(".network").trigger("change");
347 }); 347 });
@@ -371,7 +371,7 @@ page.open(url, function(status) {
371 $(".phrase").trigger("input"); 371 $(".phrase").trigger("input");
372 $(".network option[selected]").removeAttr("selected"); 372 $(".network option[selected]").removeAttr("selected");
373 $(".network option").filter(function() { 373 $(".network option").filter(function() {
374 return $(this).html() == "Dogecoin"; 374 return $(this).html() == "DOGE - Dogecoin";
375 }).prop("selected", true); 375 }).prop("selected", true);
376 $(".network").trigger("change"); 376 $(".network").trigger("change");
377 }); 377 });
@@ -401,7 +401,7 @@ page.open(url, function(status) {
401 $(".phrase").trigger("input"); 401 $(".phrase").trigger("input");
402 $(".network option[selected]").removeAttr("selected"); 402 $(".network option[selected]").removeAttr("selected");
403 $(".network option").filter(function() { 403 $(".network option").filter(function() {
404 return $(this).html() == "ShadowCash"; 404 return $(this).html() == "SDC - ShadowCash";
405 }).prop("selected", true); 405 }).prop("selected", true);
406 $(".network").trigger("change"); 406 $(".network").trigger("change");
407 }); 407 });
@@ -431,7 +431,7 @@ page.open(url, function(status) {
431 $(".phrase").trigger("input"); 431 $(".phrase").trigger("input");
432 $(".network option[selected]").removeAttr("selected"); 432 $(".network option[selected]").removeAttr("selected");
433 $(".network option").filter(function() { 433 $(".network option").filter(function() {
434 return $(this).html() == "ShadowCash Testnet"; 434 return $(this).html() == "SDC - ShadowCash Testnet";
435 }).prop("selected", true); 435 }).prop("selected", true);
436 $(".network").trigger("change"); 436 $(".network").trigger("change");
437 }); 437 });
@@ -461,7 +461,7 @@ page.open(url, function(status) {
461 $(".phrase").trigger("input"); 461 $(".phrase").trigger("input");
462 $(".network option[selected]").removeAttr("selected"); 462 $(".network option[selected]").removeAttr("selected");
463 $(".network option").filter(function() { 463 $(".network option").filter(function() {
464 return $(this).html() == "Viacoin"; 464 return $(this).html() == "VIA - Viacoin";
465 }).prop("selected", true); 465 }).prop("selected", true);
466 $(".network").trigger("change"); 466 $(".network").trigger("change");
467 }); 467 });
@@ -491,7 +491,7 @@ page.open(url, function(status) {
491 $(".phrase").trigger("input"); 491 $(".phrase").trigger("input");
492 $(".network option[selected]").removeAttr("selected"); 492 $(".network option[selected]").removeAttr("selected");
493 $(".network option").filter(function() { 493 $(".network option").filter(function() {
494 return $(this).html() == "Viacoin Testnet"; 494 return $(this).html() == "VIA - Viacoin Testnet";
495 }).prop("selected", true); 495 }).prop("selected", true);
496 $(".network").trigger("change"); 496 $(".network").trigger("change");
497 }); 497 });
@@ -521,7 +521,7 @@ page.open(url, function(status) {
521 $(".phrase").trigger("input"); 521 $(".phrase").trigger("input");
522 $(".network option[selected]").removeAttr("selected"); 522 $(".network option[selected]").removeAttr("selected");
523 $(".network option").filter(function() { 523 $(".network option").filter(function() {
524 return $(this).html() == "Jumbucks"; 524 return $(this).html() == "JBS - Jumbucks";
525 }).prop("selected", true); 525 }).prop("selected", true);
526 $(".network").trigger("change"); 526 $(".network").trigger("change");
527 }); 527 });
@@ -551,7 +551,7 @@ page.open(url, function(status) {
551 $(".phrase").trigger("input"); 551 $(".phrase").trigger("input");
552 $(".network option[selected]").removeAttr("selected"); 552 $(".network option[selected]").removeAttr("selected");
553 $(".network option").filter(function() { 553 $(".network option").filter(function() {
554 return $(this).html() == "CLAM"; 554 return $(this).html() == "CLAM - Clams";
555 }).prop("selected", true); 555 }).prop("selected", true);
556 $(".network").trigger("change"); 556 $(".network").trigger("change");
557 }); 557 });
@@ -611,7 +611,7 @@ page.open(url, function(status) {
611 $(".phrase").trigger("input"); 611 $(".phrase").trigger("input");
612 $(".network option[selected]").removeAttr("selected"); 612 $(".network option[selected]").removeAttr("selected");
613 $(".network option").filter(function() { 613 $(".network option").filter(function() {
614 return $(this).html() == "DASH"; 614 return $(this).html() == "DASH - Dash";
615 }).prop("selected", true); 615 }).prop("selected", true);
616 $(".network").trigger("change"); 616 $(".network").trigger("change");
617 }); 617 });
@@ -640,7 +640,7 @@ page.open(url, function(status) {
640 $(".phrase").trigger("input"); 640 $(".phrase").trigger("input");
641 $(".network option[selected]").removeAttr("selected"); 641 $(".network option[selected]").removeAttr("selected");
642 $(".network option").filter(function() { 642 $(".network option").filter(function() {
643 return $(this).html() == "DASH Testnet"; 643 return $(this).html() == "DASH - Dash Testnet";
644 }).prop("selected", true); 644 }).prop("selected", true);
645 $(".network").trigger("change"); 645 $(".network").trigger("change");
646 }); 646 });
@@ -670,7 +670,7 @@ page.open(url, function(status) {
670 $(".phrase").trigger("input"); 670 $(".phrase").trigger("input");
671 $(".network option[selected]").removeAttr("selected"); 671 $(".network option[selected]").removeAttr("selected");
672 $(".network option").filter(function() { 672 $(".network option").filter(function() {
673 return $(this).html() == "GAME"; 673 return $(this).html() == "GAME - GameCredits";
674 }).prop("selected", true); 674 }).prop("selected", true);
675 $(".network").trigger("change"); 675 $(".network").trigger("change");
676 }); 676 });
@@ -700,7 +700,7 @@ page.open(url, function(status) {
700 $(".phrase").trigger("input"); 700 $(".phrase").trigger("input");
701 $(".network option[selected]").removeAttr("selected"); 701 $(".network option[selected]").removeAttr("selected");
702 $(".network option").filter(function() { 702 $(".network option").filter(function() {
703 return $(this).html() == "Namecoin"; 703 return $(this).html() == "NMC - Namecoin";
704 }).prop("selected", true); 704 }).prop("selected", true);
705 $(".network").trigger("change"); 705 $(".network").trigger("change");
706 }); 706 });
@@ -730,7 +730,7 @@ page.open(url, function(status) {
730 $(".phrase").trigger("input"); 730 $(".phrase").trigger("input");
731 $(".network option[selected]").removeAttr("selected"); 731 $(".network option[selected]").removeAttr("selected");
732 $(".network option").filter(function() { 732 $(".network option").filter(function() {
733 return $(this).html() == "Peercoin"; 733 return $(this).html() == "PPC - Peercoin";
734 }).prop("selected", true); 734 }).prop("selected", true);
735 $(".network").trigger("change"); 735 $(".network").trigger("change");
736 }); 736 });
@@ -761,7 +761,7 @@ page.open(url, function(status) {
761 $(".phrase").trigger("input"); 761 $(".phrase").trigger("input");
762 $(".network option[selected]").removeAttr("selected"); 762 $(".network option[selected]").removeAttr("selected");
763 $(".network option").filter(function() { 763 $(".network option").filter(function() {
764 return $(this).html() == "Ethereum"; 764 return $(this).html() == "ETH - Ethereum";
765 }).prop("selected", true); 765 }).prop("selected", true);
766 $(".network").trigger("change"); 766 $(".network").trigger("change");
767 }); 767 });
@@ -822,7 +822,7 @@ page.open(url, function(status) {
822 $(".phrase").trigger("input"); 822 $(".phrase").trigger("input");
823 $(".network option[selected]").removeAttr("selected"); 823 $(".network option[selected]").removeAttr("selected");
824 $(".network option").filter(function() { 824 $(".network option").filter(function() {
825 return $(this).html() == "Slimcoin"; 825 return $(this).html() == "SLM - Slimcoin";
826 }).prop("selected", true); 826 }).prop("selected", true);
827 $(".network").trigger("change"); 827 $(".network").trigger("change");
828 }); 828 });
@@ -852,7 +852,7 @@ page.open(url, function(status) {
852 $(".phrase").trigger("input"); 852 $(".phrase").trigger("input");
853 $(".network option[selected]").removeAttr("selected"); 853 $(".network option[selected]").removeAttr("selected");
854 $(".network option").filter(function() { 854 $(".network option").filter(function() {
855 return $(this).html() == "Slimcoin Testnet"; 855 return $(this).html() == "SLM - Slimcoin Testnet";
856 }).prop("selected", true); 856 }).prop("selected", true);
857 $(".network").trigger("change"); 857 $(".network").trigger("change");
858 }); 858 });
@@ -2044,7 +2044,7 @@ page.open(url, function(status) {
2044 // 4) switch from bitcoin to litecoin 2044 // 4) switch from bitcoin to litecoin
2045 page.evaluate(function() { 2045 page.evaluate(function() {
2046 $(".network option").filter(function() { 2046 $(".network option").filter(function() {
2047 return $(this).html() == "Litecoin"; 2047 return $(this).html() == "LTC - Litecoin";
2048 }).prop("selected", true); 2048 }).prop("selected", true);
2049 $(".network").trigger("change"); 2049 $(".network").trigger("change");
2050 }); 2050 });
@@ -2090,7 +2090,7 @@ page.open(url, function(status) {
2090 // switch from bitcoin to clam 2090 // switch from bitcoin to clam
2091 page.evaluate(function() { 2091 page.evaluate(function() {
2092 $(".network option").filter(function() { 2092 $(".network option").filter(function() {
2093 return $(this).html() == "CLAM"; 2093 return $(this).html() == "CLAM - Clams";
2094 }).prop("selected", true); 2094 }).prop("selected", true);
2095 $(".network").trigger("change"); 2095 $(".network").trigger("change");
2096 }); 2096 });
@@ -2124,7 +2124,7 @@ page.open(url, function(status) {
2124 // 4) switch from bitcoin to viacoin 2124 // 4) switch from bitcoin to viacoin
2125 page.evaluate(function() { 2125 page.evaluate(function() {
2126 $(".network option").filter(function() { 2126 $(".network option").filter(function() {
2127 return $(this).html() == "Viacoin"; 2127 return $(this).html() == "VIA - Viacoin";
2128 }).prop("selected", true); 2128 }).prop("selected", true);
2129 $(".network").trigger("change"); 2129 $(".network").trigger("change");
2130 }); 2130 });