mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-29 21:46:00 +00:00
Add SegWit spec for Bitcoin Gold
This commit is contained in:
@@ -133,4 +133,30 @@ bitcoinjs.bitcoin.networks.vertcoin.p2wpkhInP2sh = {
|
|||||||
wif: 0x80
|
wif: 0x80
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bitcoinjs.bitcoin.networks.bgold.p2wpkh = {
|
||||||
|
baseNetwork: "bgold",
|
||||||
|
messagePrefix: '\x1DBitcoin Gold Signed Message:\n',
|
||||||
|
bech32: 'btg',
|
||||||
|
bip32: {
|
||||||
|
public: 0x04b24746,
|
||||||
|
private: 0x04b2430c
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x26,
|
||||||
|
scriptHash: 0x17,
|
||||||
|
wif: 0x80,
|
||||||
|
};
|
||||||
|
|
||||||
|
bitcoinjs.bitcoin.networks.bgold.p2wpkhInP2sh = {
|
||||||
|
baseNetwork: "bgold",
|
||||||
|
messagePrefix: '\x1DBitcoin Gold Signed Message:\n',
|
||||||
|
bech32: 'btg',
|
||||||
|
bip32: {
|
||||||
|
public: 0x049d7cb2,
|
||||||
|
private: 0x049d7878
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x26,
|
||||||
|
scriptHash: 0x17,
|
||||||
|
wif: 0x80,
|
||||||
|
};
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|||||||
Reference in New Issue
Block a user