aboutsummaryrefslogtreecommitdiff
path: root/bip39-standalone.html
diff options
context:
space:
mode:
Diffstat (limited to 'bip39-standalone.html')
-rw-r--r--bip39-standalone.html20
1 files changed, 19 insertions, 1 deletions
diff --git a/bip39-standalone.html b/bip39-standalone.html
index 5f9cf7c..9b3c4f1 100644
--- a/bip39-standalone.html
+++ b/bip39-standalone.html
@@ -13353,6 +13353,17 @@ bitcoin.networks.clam = {
13353 pubKeyHash: 0x89, 13353 pubKeyHash: 0x89,
13354 wif: 0x85, 13354 wif: 0x85,
13355}; 13355};
13356
13357bitcoin.networks.dash = {
13358 bip32: {
13359 public: 0x0488b21e,
13360 private: 0x0488ade4
13361 },
13362 pubKeyHash: 0x4c,
13363 scriptHash: 0x10,
13364 wif: 0xcc,
13365};
13366
13356</script> 13367</script>
13357 <script>// Select components from sjcl to suit the crypto operations bip39 requires. 13368 <script>// Select components from sjcl to suit the crypto operations bip39 requires.
13358 13369
@@ -15041,7 +15052,7 @@ var Mnemonic = function(language) {
15041 } 15052 }
15042 15053
15043 function calcBip32RootKeyFromBase58(rootKeyBase58) { 15054 function calcBip32RootKeyFromBase58(rootKeyBase58) {
15044 bip32RootKey = bitcoin.HDNode.fromBase58(rootKeyBase58); 15055 bip32RootKey = bitcoin.HDNode.fromBase58(rootKeyBase58, network);
15045 } 15056 }
15046 15057
15047 function calcBip32ExtendedKey(path) { 15058 function calcBip32ExtendedKey(path) {
@@ -15414,6 +15425,13 @@ var Mnemonic = function(language) {
15414 DOM.bip44coin.val(23); 15425 DOM.bip44coin.val(23);
15415 }, 15426 },
15416 }, 15427 },
15428 {
15429 name: "DASH",
15430 onSelect: function() {
15431 network = bitcoin.networks.dash;
15432 DOM.bip44coin.val(5);
15433 },
15434 },
15417 ] 15435 ]
15418 15436
15419 init(); 15437 init();