aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bip39-standalone.html19
-rw-r--r--src/js/bitcoinjs-extensions.js11
-rw-r--r--src/js/index.js8
3 files changed, 38 insertions, 0 deletions
diff --git a/bip39-standalone.html b/bip39-standalone.html
index f287e13..333f264 100644
--- a/bip39-standalone.html
+++ b/bip39-standalone.html
@@ -22422,6 +22422,17 @@ bitcoinjs.bitcoin.networks.nubits = {
22422 wif: 0x96, 22422 wif: 0x96,
22423}; 22423};
22424 22424
22425bitcoinjs.bitcoin.networks.bgold = {
22426 messagePrefix: 'unused',
22427 bip32: {
22428 public: 0x0488b21e,
22429 private: 0x0488ade4
22430 },
22431 pubKeyHash: 38,
22432 scriptHash: 23,
22433 wif: 128
22434};
22435
22425bitcoinjs.bitcoin.networks.bitcoinCashBitbpay = { 22436bitcoinjs.bitcoin.networks.bitcoinCashBitbpay = {
22426 messagePrefix: '\x18Bitcoin Signed Message:\n', 22437 messagePrefix: '\x18Bitcoin Signed Message:\n',
22427 bip32: { 22438 bip32: {
@@ -47296,6 +47307,14 @@ window.Entropy = new (function() {
47296 }, 47307 },
47297 }, 47308 },
47298 { 47309 {
47310 name: "BTG - Bitcoin Gold",
47311 p2wpkhNestedInP2shAvailable: true,
47312 onSelect: function() {
47313 network = bitcoinjs.bitcoin.networks.bgold;
47314 setHdCoin(0);
47315 },
47316 },
47317 {
47299 name: "CLAM - Clams", 47318 name: "CLAM - Clams",
47300 p2wpkhNestedInP2shAvailable: false, 47319 p2wpkhNestedInP2shAvailable: false,
47301 onSelect: function() { 47320 onSelect: function() {
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 388dd0b..fb34441 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -251,6 +251,17 @@ bitcoinjs.bitcoin.networks.nubits = {
251 wif: 0x96, 251 wif: 0x96,
252}; 252};
253 253
254bitcoinjs.bitcoin.networks.bgold = {
255 messagePrefix: 'unused',
256 bip32: {
257 public: 0x0488b21e,
258 private: 0x0488ade4
259 },
260 pubKeyHash: 38,
261 scriptHash: 23,
262 wif: 128
263};
264
254bitcoinjs.bitcoin.networks.bitcoinCashBitbpay = { 265bitcoinjs.bitcoin.networks.bitcoinCashBitbpay = {
255 messagePrefix: '\x18Bitcoin Signed Message:\n', 266 messagePrefix: '\x18Bitcoin Signed Message:\n',
256 bip32: { 267 bip32: {
diff --git a/src/js/index.js b/src/js/index.js
index f38aa3c..391f40b 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1318,6 +1318,14 @@
1318 }, 1318 },
1319 }, 1319 },
1320 { 1320 {
1321 name: "BTG - Bitcoin Gold",
1322 p2wpkhNestedInP2shAvailable: true,
1323 onSelect: function() {
1324 network = bitcoinjs.bitcoin.networks.bgold;
1325 setHdCoin(0);
1326 },
1327 },
1328 {
1321 name: "CLAM - Clams", 1329 name: "CLAM - Clams",
1322 p2wpkhNestedInP2shAvailable: false, 1330 p2wpkhNestedInP2shAvailable: false,
1323 onSelect: function() { 1331 onSelect: function() {