aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPawel Cioch <pawel@greenhex.net>2018-10-10 17:53:06 -0500
committerPawel Cioch <pawel@greenhex.net>2018-10-10 17:53:06 -0500
commit8b2a093c8b97e2646bcf170661c7d5378f6fba97 (patch)
treec5410b70f88992efd6e8ef080935756721f216aa /src
parent37f237239a0657e04dbfa5ad43587892d1402b24 (diff)
downloadBIP39-8b2a093c8b97e2646bcf170661c7d5378f6fba97.tar.gz
BIP39-8b2a093c8b97e2646bcf170661c7d5378f6fba97.tar.zst
BIP39-8b2a093c8b97e2646bcf170661c7d5378f6fba97.zip
Added BITG - Bitcoin Green
Diffstat (limited to 'src')
-rw-r--r--src/js/bitcoinjs-extensions.js11
-rw-r--r--src/js/index.js7
2 files changed, 18 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 069c8d9..d925b32 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -1375,3 +1375,14 @@ bitcoinjs.bitcoin.networks.artax = {
1375 scriptHash: 0x1CBD, 1375 scriptHash: 0x1CBD,
1376 wif: 0x97, 1376 wif: 0x97,
1377}; 1377};
1378
1379bitcoinjs.bitcoin.networks.bitcoingreen = {
1380 messagePrefix: '\x18BitcoinGreen Signed Message:\n',
1381 bip32: {
1382 public: 0x0488B21E,
1383 private: 0x0488ADE4,
1384 },
1385 pubKeyHash: 0x26,
1386 scriptHash: 0x1CBD,
1387 wif: 0x2E,
1388};
diff --git a/src/js/index.js b/src/js/index.js
index b5d2366..856f627 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1730,6 +1730,13 @@
1730 setHdCoin(1); 1730 setHdCoin(1);
1731 }, 1731 },
1732 }, 1732 },
1733 {
1734 name: "BITG - Bitcoin Green",
1735 onSelect: function() {
1736 network = bitcoinjs.bitcoin.networks.bitcoingreen;
1737 setHdCoin(222);
1738 },
1739 },
1733 { 1740 {
1734 name: "BTCP - Bitcoin Private", 1741 name: "BTCP - Bitcoin Private",
1735 onSelect: function() { 1742 onSelect: function() {