aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authormikeyb <mike@mikes.email>2017-07-01 15:38:46 -0700
committermikeyb <mike@mikes.email>2017-07-01 15:38:46 -0700
commit0921f370777822fd09d46cd40b824c4f669086f0 (patch)
tree6d86676c0580cf77f8255619ef3c374874d4a796 /src/js
parentf1e5d48491562ae58926467da4e4c4b81b62a0f3 (diff)
downloadBIP39-0921f370777822fd09d46cd40b824c4f669086f0.tar.gz
BIP39-0921f370777822fd09d46cd40b824c4f669086f0.tar.zst
BIP39-0921f370777822fd09d46cd40b824c4f669086f0.zip
Add CRW - Crown
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;