diff options
author | dangershony <dan.gershony@gmail.com> | 2016-08-25 16:21:41 +0100 |
---|---|---|
committer | dangershony <dan.gershony@gmail.com> | 2016-08-25 16:21:41 +0100 |
commit | 07ac4350eec471d9b7f16182a5009df8b6d8f28e (patch) | |
tree | 4766b2b7e2fde4f83384106858817344bd8e5e02 /bip39-standalone.html | |
parent | 3821c0d34596dbbf7ff1ba9ce02b54ca4e0d9fda (diff) | |
download | BIP39-07ac4350eec471d9b7f16182a5009df8b6d8f28e.tar.gz BIP39-07ac4350eec471d9b7f16182a5009df8b6d8f28e.tar.zst BIP39-07ac4350eec471d9b7f16182a5009df8b6d8f28e.zip |
namecoin and peercoin
Diffstat (limited to 'bip39-standalone.html')
-rw-r--r-- | bip39-standalone.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/bip39-standalone.html b/bip39-standalone.html index 9b3c4f1..dcd6ffc 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html | |||
@@ -13364,6 +13364,26 @@ bitcoin.networks.dash = { | |||
13364 | wif: 0xcc, | 13364 | wif: 0xcc, |
13365 | }; | 13365 | }; |
13366 | 13366 | ||
13367 | bitcoin.networks.namecoin = { | ||
13368 | bip32: { | ||
13369 | public: 0x0488b21e, | ||
13370 | private: 0x0488ade4 | ||
13371 | }, | ||
13372 | pubKeyHash: 0x34, | ||
13373 | //scriptHash: 0x10, | ||
13374 | wif: 0x80, | ||
13375 | }; | ||
13376 | |||
13377 | bitcoin.networks.peercoin = { | ||
13378 | bip32: { | ||
13379 | public: 0x0488b21e, | ||
13380 | private: 0x0488ade4 | ||
13381 | }, | ||
13382 | pubKeyHash: 0x37, | ||
13383 | //scriptHash: 0x10, | ||
13384 | wif: 0xb7, | ||
13385 | }; | ||
13386 | |||
13367 | </script> | 13387 | </script> |
13368 | <script>// Select components from sjcl to suit the crypto operations bip39 requires. | 13388 | <script>// Select components from sjcl to suit the crypto operations bip39 requires. |
13369 | 13389 | ||
@@ -15432,6 +15452,20 @@ var Mnemonic = function(language) { | |||
15432 | DOM.bip44coin.val(5); | 15452 | DOM.bip44coin.val(5); |
15433 | }, | 15453 | }, |
15434 | }, | 15454 | }, |
15455 | { | ||
15456 | name: "Namecoin", | ||
15457 | onSelect: function() { | ||
15458 | network = bitcoin.networks.namecoin; | ||
15459 | DOM.bip44coin.val(7); | ||
15460 | }, | ||
15461 | }, | ||
15462 | { | ||
15463 | name: "Peercoin", | ||
15464 | onSelect: function() { | ||
15465 | network = bitcoin.networks.peercoin; | ||
15466 | DOM.bip44coin.val(6); | ||
15467 | }, | ||
15468 | }, | ||
15435 | ] | 15469 | ] |
15436 | 15470 | ||
15437 | init(); | 15471 | init(); |