]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - bip39-standalone.html
add BTG (Bitcoin Gold/bgold)
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / bip39-standalone.html
index f287e139a31ae7ed60d44c2ab672b2784a4f4b97..333f264449442caa796c21fce3a7dab06fc830ab 100644 (file)
@@ -22422,6 +22422,17 @@ bitcoinjs.bitcoin.networks.nubits = {
   wif: 0x96,
 };
 
+bitcoinjs.bitcoin.networks.bgold = {
+  messagePrefix: 'unused',
+    bip32: {
+      public: 0x0488b21e,
+      private: 0x0488ade4
+    },
+    pubKeyHash: 38,
+    scriptHash: 23,
+    wif: 128
+};
+
 bitcoinjs.bitcoin.networks.bitcoinCashBitbpay = {
     messagePrefix: '\x18Bitcoin Signed Message:\n',
     bip32: {
@@ -47295,6 +47306,14 @@ window.Entropy = new (function() {
                 setHdCoin(1);
             },
         },
+        {
+            name: "BTG - Bitcoin Gold",
+            p2wpkhNestedInP2shAvailable: true,
+            onSelect: function() {
+                network = bitcoinjs.bitcoin.networks.bgold;
+                setHdCoin(0);
+            },
+        },
         {
             name: "CLAM - Clams",
             p2wpkhNestedInP2shAvailable: false,