aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 be73354..c98ff63 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 8146f11..f291395 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() {