aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/bitcoinjs-extensions.js10
-rw-r--r--src/js/index.js7
2 files changed, 17 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 7747d25..631af7e 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -35,6 +35,16 @@ bitcoin.networks.clam = {
35 wif: 0x85, 35 wif: 0x85,
36}; 36};
37 37
38bitcoin.networks.crown = {
39 bip32: {
40 public: 0x0488b21e,
41 private: 0x0488ade4
42 },
43 pubKeyHash: 0x00,
44 scriptHash: 0x05,
45 wif: 0x80,
46};
47
38bitcoin.networks.dash = { 48bitcoin.networks.dash = {
39 bip32: { 49 bip32: {
40 public: 0x0488b21e, 50 public: 0x0488b21e,
diff --git a/src/js/index.js b/src/js/index.js
index 2bb766d..2b17515 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1078,6 +1078,13 @@
1078 }, 1078 },
1079 }, 1079 },
1080 { 1080 {
1081 name: "CRW - Crown",
1082 onSelect: function() {
1083 network = bitcoin.networks.crown;
1084 DOM.bip44coin.val(72);
1085 },
1086 },
1087 {
1081 name: "Dogecoin", 1088 name: "Dogecoin",
1082 onSelect: function() { 1089 onSelect: function() {
1083 network = bitcoin.networks.dogecoin; 1090 network = bitcoin.networks.dogecoin;