diff options
Diffstat (limited to 'bip39-standalone.html')
-rw-r--r-- | bip39-standalone.html | 40 |
1 files changed, 39 insertions, 1 deletions
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 { | |||
6286 | <option value="bitcoin-testnet">Bitcoin Testnet</option> | 6286 | <option value="bitcoin-testnet">Bitcoin Testnet</option> |
6287 | <option value="litecoin">Litecoin</option> | 6287 | <option value="litecoin">Litecoin</option> |
6288 | <option value="dogecoin">Dogecoin</option> | 6288 | <option value="dogecoin">Dogecoin</option> |
6289 | </select> | 6289 | <option value="shadow">Shadow</option> |
6290 | <option value="shadowtn">Shadow Testnet</option> | ||
6291 | </select> | ||
6290 | </div> | 6292 | </div> |
6291 | </div> | 6293 | </div> |
6292 | <div class="form-group"> | 6294 | <div class="form-group"> |
@@ -31118,6 +31120,32 @@ var networks = { | |||
31118 | feePerKb: 10000, // https://github.com/bitcoin/bitcoin/blob/v0.9.2/src/main.cpp#L53 | 31120 | feePerKb: 10000, // https://github.com/bitcoin/bitcoin/blob/v0.9.2/src/main.cpp#L53 |
31119 | estimateFee: estimateFee('bitcoin') | 31121 | estimateFee: estimateFee('bitcoin') |
31120 | }, | 31122 | }, |
31123 | shadow: { | ||
31124 | magicPrefix: '\x19Shadow Signed Message:\n', | ||
31125 | bip32: { | ||
31126 | public: 0xEE80286A, | ||
31127 | private: 0xEE8031E8 | ||
31128 | }, | ||
31129 | pubKeyHash: 0x3f, | ||
31130 | scriptHash: 0x7d, | ||
31131 | wif: 0xbf, | ||
31132 | dustThreshold: 0, // CHECK | ||
31133 | feePerKb: 100000000, // CHECK | ||
31134 | estimateFee: estimateFee('shadow') | ||
31135 | }, | ||
31136 | shadowtn: { | ||
31137 | magicPrefix: '\x19Shadow Signed Message:\n', | ||
31138 | bip32: { | ||
31139 | public: 0x76C0FDFB, | ||
31140 | private: 0x76C1077A | ||
31141 | }, | ||
31142 | pubKeyHash: 0x7f, | ||
31143 | scriptHash: 0xc4, | ||
31144 | wif: 0xff, | ||
31145 | dustThreshold: 0, // CHECK | ||
31146 | feePerKb: 100000000, // CHECK | ||
31147 | estimateFee: estimateFee('shadowtn') | ||
31148 | }, | ||
31121 | dogecoin: { | 31149 | dogecoin: { |
31122 | magicPrefix: '\x19Dogecoin Signed Message:\n', | 31150 | magicPrefix: '\x19Dogecoin Signed Message:\n', |
31123 | bip32: { | 31151 | bip32: { |
@@ -33936,6 +33964,16 @@ var Mnemonic = function(language) { | |||
33936 | network = Bitcoin.networks.litecoin; | 33964 | network = Bitcoin.networks.litecoin; |
33937 | DOM.bip44coin.val(2); | 33965 | DOM.bip44coin.val(2); |
33938 | } | 33966 | } |
33967 | else if (n == "shadow") { | ||
33968 | network = Bitcoin.networks.shadow; | ||
33969 | var UNOFFICIAL_BIP44_COIN = 9999; | ||
33970 | DOM.bip44coin.val(UNOFFICIAL_BIP44_COIN); | ||
33971 | } | ||
33972 | else if (n == "shadowtn") { | ||
33973 | network = Bitcoin.networks.shadowtn; | ||
33974 | var UNOFFICIAL_BIP44_COIN2 = 9999; | ||
33975 | DOM.bip44coin.val(UNOFFICIAL_BIP44_COIN2); | ||
33976 | } | ||
33939 | else if (n == "dogecoin") { | 33977 | else if (n == "dogecoin") { |
33940 | network = Bitcoin.networks.dogecoin; | 33978 | network = Bitcoin.networks.dogecoin; |
33941 | DOM.bip44coin.val(3); | 33979 | DOM.bip44coin.val(3); |