diff options
author | iancoleman <coleman.ian@gmail.com> | 2015-08-16 10:58:12 +1000 |
---|---|---|
committer | iancoleman <coleman.ian@gmail.com> | 2015-08-16 10:58:12 +1000 |
commit | 1d189b3f00c4681dbadbcc51fd164b7304a8c7dc (patch) | |
tree | 7c1683c9502f416bacbecfc16bf1da1d6ecaec9f | |
parent | 1494d6f3acb8fa973aa133f9414db163d31e188c (diff) | |
parent | cb325c5815c12d426938a5baf95a1364cef51151 (diff) | |
download | BIP39-1d189b3f00c4681dbadbcc51fd164b7304a8c7dc.tar.gz BIP39-1d189b3f00c4681dbadbcc51fd164b7304a8c7dc.tar.zst BIP39-1d189b3f00c4681dbadbcc51fd164b7304a8c7dc.zip |
Merge pull request #8 from dasource/master
Add ShadowCash
-rw-r--r-- | bip39-standalone.html | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/bip39-standalone.html b/bip39-standalone.html index 77e86a5..910230a 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">ShadowCash</option> |
6290 | <option value="shadowtn">ShadowCash 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: '\x19ShadowCash Signed Message:\n', | ||
31125 | bip32: { | ||
31126 | public: 0xEE80286A, | ||
31127 | private: 0xEE8031E8 | ||
31128 | }, | ||
31129 | pubKeyHash: 0x3f, | ||
31130 | scriptHash: 0x7d, | ||
31131 | wif: 0xbf, | ||
31132 | dustThreshold: 0, | ||
31133 | feePerKb: 10000, | ||
31134 | estimateFee: estimateFee('shadow') | ||
31135 | }, | ||
31136 | shadowtn: { | ||
31137 | magicPrefix: '\x19ShadowCash Signed Message:\n', | ||
31138 | bip32: { | ||
31139 | public: 0x76C0FDFB, | ||
31140 | private: 0x76C1077A | ||
31141 | }, | ||
31142 | pubKeyHash: 0x7f, | ||
31143 | scriptHash: 0xc4, | ||
31144 | wif: 0xff, | ||
31145 | dustThreshold: 0, | ||
31146 | feePerKb: 10000, | ||
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,14 @@ 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 | DOM.bip44coin.val(35); | ||
33970 | } | ||
33971 | else if (n == "shadowtn") { | ||
33972 | network = Bitcoin.networks.shadowtn; | ||
33973 | DOM.bip44coin.val(1); | ||
33974 | } | ||
33939 | else if (n == "dogecoin") { | 33975 | else if (n == "dogecoin") { |
33940 | network = Bitcoin.networks.dogecoin; | 33976 | network = Bitcoin.networks.dogecoin; |
33941 | DOM.bip44coin.val(3); | 33977 | DOM.bip44coin.val(3); |