diff --git a/src/index.html b/src/index.html
index d486fa2..1184a0c 100644
--- a/src/index.html
+++ b/src/index.html
@@ -963,6 +963,7 @@
+
diff --git a/src/js/index.js b/src/js/index.js
index 3981e81..c2d34a7 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1165,6 +1165,11 @@
privkey = convertRipplePriv(privkey);
address = convertRippleAdrr(address);
}
+ // Jingtum values are different
+ if (networks[DOM.network.val()].name == "SWTC - Jingtum") {
+ privkey = convertJingtumPriv(privkey);
+ address = convertJingtumAdrr(address);
+ }
// CasinoCoin values are different
if (networks[DOM.network.val()].name == "CSC - CasinoCoin") {
privkey = convertCasinoCoinPriv(privkey);
@@ -1832,6 +1837,7 @@
|| (name == "EWT - EnergyWeb")
|| (name == "PIRL - Pirl")
|| (name == "MIX - MIX")
+ || (name == "MOAC - MOAC")
|| (name == "MUSIC - Musicoin")
|| (name == "POA - Poa")
|| (name == "EXP - Expanse")
@@ -2738,6 +2744,14 @@
setHdCoin(214);
},
},
+ {
+ name: "MOAC - MOAC",
+ segwitAvailable: false,
+ onSelect: function() {
+ network = libs.bitcoin.networks.bitcoin;
+ setHdCoin(314);
+ },
+ },
{
name: "MUSIC - Musicoin",
segwitAvailable: false,
@@ -3077,6 +3091,13 @@
setHdCoin(105);
},
},
+ {
+ name: "SWTC - Jingtum",
+ onSelect: function() {
+ network = libs.bitcoin.networks.bitcoin;
+ setHdCoin(315);
+ },
+ },
{
name: "TSTRAT - Stratis Testnet",
onSelect: function() {
diff --git a/src/js/jingtum-util.js b/src/js/jingtum-util.js
new file mode 100644
index 0000000..56dbec6
--- /dev/null
+++ b/src/js/jingtum-util.js
@@ -0,0 +1,10 @@
+function convertJingtumAdrr(address) {
+ return libs.basex('jpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65rkm8oFqi1tuvAxyz').encode(
+ libs.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(address)
+ )
+ }
+
+function convertJingtumPriv(priv) {
+ return libs.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,66)
+}
+