aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriancoleman <1281387+iancoleman@users.noreply.github.com>2018-03-27 10:20:57 +1100
committerGitHub <noreply@github.com>2018-03-27 10:20:57 +1100
commitdfbb5a65ff30602e48ae3d928aada6940ac1c9aa (patch)
treea9ab2171c69dec340f8400143b64ef9ecd5ced4b
parentb777ff554de2075015e7df0108e33808005b99e9 (diff)
parent0c9bbd03b06b5ce6b2ace8a29686f6e36247bf5c (diff)
downloadBIP39-dfbb5a65ff30602e48ae3d928aada6940ac1c9aa.tar.gz
BIP39-dfbb5a65ff30602e48ae3d928aada6940ac1c9aa.tar.zst
BIP39-dfbb5a65ff30602e48ae3d928aada6940ac1c9aa.zip
Merge pull request #186 from williamersatz/master
Implemented support for Beetle Coin
-rw-r--r--src/js/bitcoinjs-extensions.js11
-rw-r--r--src/js/index.js8
2 files changed, 19 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 628a012..c5d223a 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -361,3 +361,14 @@ bitcoinjs.bitcoin.networks.blackcoin = {
361 scriptHash: 0x55, 361 scriptHash: 0x55,
362 wif: 0x99 362 wif: 0x99
363}; 363};
364
365bitcoinjs.bitcoin.networks.beetlecoin = {
366 messagePrefix: '\x19Beetlecoin Signed Message:\n',
367 bip32: {
368 public: 0x0488b21e,
369 private: 0x0488ade4
370 },
371 pubKeyHash: 0x1A,
372 scriptHash: 0x55,
373 wif: 0x99,
374};
diff --git a/src/js/index.js b/src/js/index.js
index 502bbdf..b1ca066 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1523,6 +1523,14 @@
1523 }, 1523 },
1524 }, 1524 },
1525 { 1525 {
1526 name: "BEET - Beetlecoin",
1527 segwitAvailable: false,
1528 onSelect: function() {
1529 network = bitcoinjs.bitcoin.networks.beetlecoin;
1530 setHdCoin(800);
1531 },
1532 },
1533 {
1526 name: "BCH - Bitcoin Cash", 1534 name: "BCH - Bitcoin Cash",
1527 segwitAvailable: false, 1535 segwitAvailable: false,
1528 onSelect: function() { 1536 onSelect: function() {