From a9385c1bd61fd17596c4c9dd65f1d383b8e00347 Mon Sep 17 00:00:00 2001 From: dasource Date: Tue, 21 Jul 2015 21:17:19 +0000 Subject: Add Shadow and Shadow Testnet --- bip39-standalone.html | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/bip39-standalone.html b/bip39-standalone.html index 77e86a5..c450982 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html @@ -6286,7 +6286,9 @@ button.close { - + + +
@@ -31117,6 +31119,32 @@ var networks = { dustThreshold: 546, // https://github.com/bitcoin/bitcoin/blob/v0.9.2/src/core.h#L151-L162 feePerKb: 10000, // https://github.com/bitcoin/bitcoin/blob/v0.9.2/src/main.cpp#L53 estimateFee: estimateFee('bitcoin') + }, + shadow: { + magicPrefix: '\x19Shadow Signed Message:\n', + bip32: { + public: 0xEE80286A, + private: 0xEE8031E8 + }, + pubKeyHash: 0x3f, + scriptHash: 0x7d, + wif: 0xbf, + dustThreshold: 0, // CHECK + feePerKb: 100000000, // CHECK + estimateFee: estimateFee('shadow') + }, + shadowtn: { + magicPrefix: '\x19Shadow Signed Message:\n', + bip32: { + public: 0x76C0FDFB, + private: 0x76C1077A + }, + pubKeyHash: 0x7f, + scriptHash: 0xc4, + wif: 0xff, + dustThreshold: 0, // CHECK + feePerKb: 100000000, // CHECK + estimateFee: estimateFee('shadowtn') }, dogecoin: { magicPrefix: '\x19Dogecoin Signed Message:\n', @@ -33935,6 +33963,16 @@ var Mnemonic = function(language) { else if (n == "litecoin") { network = Bitcoin.networks.litecoin; DOM.bip44coin.val(2); + } + else if (n == "shadow") { + network = Bitcoin.networks.shadow; + var UNOFFICIAL_BIP44_COIN = 9999; + DOM.bip44coin.val(UNOFFICIAL_BIP44_COIN); + } + else if (n == "shadowtn") { + network = Bitcoin.networks.shadowtn; + var UNOFFICIAL_BIP44_COIN2 = 9999; + DOM.bip44coin.val(UNOFFICIAL_BIP44_COIN2); } else if (n == "dogecoin") { network = Bitcoin.networks.dogecoin; -- cgit v1.2.3 From 5af78c3789dd910d4a0b238ccd18c65927d179af Mon Sep 17 00:00:00 2001 From: dasource Date: Thu, 13 Aug 2015 11:30:00 +0000 Subject: Updated BIP44 index --- bip39-standalone.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/bip39-standalone.html b/bip39-standalone.html index c450982..e73b536 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html @@ -6286,8 +6286,8 @@ button.close { - - + +
@@ -31121,7 +31121,7 @@ var networks = { estimateFee: estimateFee('bitcoin') }, shadow: { - magicPrefix: '\x19Shadow Signed Message:\n', + magicPrefix: '\x19ShadowCash Signed Message:\n', bip32: { public: 0xEE80286A, private: 0xEE8031E8 @@ -31134,7 +31134,7 @@ var networks = { estimateFee: estimateFee('shadow') }, shadowtn: { - magicPrefix: '\x19Shadow Signed Message:\n', + magicPrefix: '\x19ShadowCash Signed Message:\n', bip32: { public: 0x76C0FDFB, private: 0x76C1077A @@ -33966,13 +33966,11 @@ var Mnemonic = function(language) { } else if (n == "shadow") { network = Bitcoin.networks.shadow; - var UNOFFICIAL_BIP44_COIN = 9999; - DOM.bip44coin.val(UNOFFICIAL_BIP44_COIN); + DOM.bip44coin.val(35); } else if (n == "shadowtn") { network = Bitcoin.networks.shadowtn; - var UNOFFICIAL_BIP44_COIN2 = 9999; - DOM.bip44coin.val(UNOFFICIAL_BIP44_COIN2); + DOM.bip44coin.val(1); } else if (n == "dogecoin") { network = Bitcoin.networks.dogecoin; -- cgit v1.2.3 From cb325c5815c12d426938a5baf95a1364cef51151 Mon Sep 17 00:00:00 2001 From: dasource Date: Thu, 13 Aug 2015 11:48:09 +0000 Subject: Added feePerKb --- bip39-standalone.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bip39-standalone.html b/bip39-standalone.html index e73b536..910230a 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html @@ -31129,8 +31129,8 @@ var networks = { pubKeyHash: 0x3f, scriptHash: 0x7d, wif: 0xbf, - dustThreshold: 0, // CHECK - feePerKb: 100000000, // CHECK + dustThreshold: 0, + feePerKb: 10000, estimateFee: estimateFee('shadow') }, shadowtn: { @@ -31142,8 +31142,8 @@ var networks = { pubKeyHash: 0x7f, scriptHash: 0xc4, wif: 0xff, - dustThreshold: 0, // CHECK - feePerKb: 100000000, // CHECK + dustThreshold: 0, + feePerKb: 10000, estimateFee: estimateFee('shadowtn') }, dogecoin: { -- cgit v1.2.3