diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 9 | ||||
-rw-r--r-- | src/js/index.js | 7 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index 856be95..a7ca2ec 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -25,3 +25,12 @@ bitcoin.networks.shadowtn = { | |||
25 | feePerKb: 1000, | 25 | feePerKb: 1000, |
26 | estimateFee: function() { return "unused in this app" }, | 26 | estimateFee: function() { return "unused in this app" }, |
27 | }; | 27 | }; |
28 | |||
29 | bitcoin.networks.clam = { | ||
30 | bip32: { | ||
31 | public: 0xa8c26d64, | ||
32 | private: 0xa8c17826 | ||
33 | }, | ||
34 | pubKeyHash: 0x89, | ||
35 | wif: 0x85, | ||
36 | }; | ||
diff --git a/src/js/index.js b/src/js/index.js index 2f7815d..a1cc31b 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -459,6 +459,13 @@ | |||
459 | DOM.bip44coin.val(26); | 459 | DOM.bip44coin.val(26); |
460 | }, | 460 | }, |
461 | }, | 461 | }, |
462 | { | ||
463 | name: "CLAM", | ||
464 | onSelect: function() { | ||
465 | network = bitcoin.networks.clam; | ||
466 | DOM.bip44coin.val(23); | ||
467 | }, | ||
468 | }, | ||
462 | ] | 469 | ] |
463 | 470 | ||
464 | init(); | 471 | init(); |