aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Moore <dooglus@gmail.com>2015-08-20 17:02:57 -0700
committerChris Moore <dooglus@gmail.com>2015-08-20 17:02:57 -0700
commit5c434a8a00f2e18b47ca45b0c6834955cf4f02a4 (patch)
treec23ba2374ee8fbdb58d458b8d0c3f805fab68a09 /src
parentae30fed8037fa9d1e88e9431c4f301f1d1c53d29 (diff)
downloadBIP39-5c434a8a00f2e18b47ca45b0c6834955cf4f02a4.tar.gz
BIP39-5c434a8a00f2e18b47ca45b0c6834955cf4f02a4.tar.zst
BIP39-5c434a8a00f2e18b47ca45b0c6834955cf4f02a4.zip
Add CLAM.
Diffstat (limited to 'src')
-rw-r--r--src/js/bitcoinjs-extensions.js9
-rw-r--r--src/js/index.js7
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
29bitcoin.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();