mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-18 08:22:16 +00:00
Adds Segwit support for Vertcoin.
This commit is contained in:
@@ -2350,7 +2350,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "VTC - Vertcoin",
|
name: "VTC - Vertcoin",
|
||||||
segwitAvailable: false,
|
segwitAvailable: true,
|
||||||
onSelect: function() {
|
onSelect: function() {
|
||||||
network = bitcoinjs.bitcoin.networks.vertcoin;
|
network = bitcoinjs.bitcoin.networks.vertcoin;
|
||||||
setHdCoin(28);
|
setHdCoin(28);
|
||||||
|
|||||||
@@ -94,4 +94,29 @@ bitcoinjs.bitcoin.networks.fujicoin.p2wpkhInP2sh = {
|
|||||||
wif: 0xa4
|
wif: 0xa4
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bitcoinjs.bitcoin.networks.vertcoin.p2wpkh = {
|
||||||
|
baseNetwork: "vertcoin",
|
||||||
|
messagePrefix: '\x18Vertcoin Signed Message:\n',
|
||||||
|
bech32: 'vtc',
|
||||||
|
bip32: {
|
||||||
|
public: 0x0488b21e,
|
||||||
|
private: 0x0488ade4
|
||||||
|
},
|
||||||
|
pubKeyHash: 71,
|
||||||
|
scriptHash: 5,
|
||||||
|
wif: 0x80
|
||||||
|
};
|
||||||
|
|
||||||
|
bitcoinjs.bitcoin.networks.vertcoin.p2wpkhInP2sh = {
|
||||||
|
baseNetwork: "vertcoin",
|
||||||
|
messagePrefix: '\x18Vertcoin Signed Message:\n',
|
||||||
|
bip32: {
|
||||||
|
public: 0x0488b21e,
|
||||||
|
private: 0x0488ade4
|
||||||
|
},
|
||||||
|
pubKeyHash: 71,
|
||||||
|
scriptHash: 5,
|
||||||
|
wif: 0x80
|
||||||
|
};
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|||||||
Reference in New Issue
Block a user