mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-30 14:06:00 +00:00
Merge pull request #210 from potatohodler/patch/vertcoin
Improve Vertcoin support
This commit is contained in:
@@ -1142,7 +1142,7 @@ bitcoinjs.bitcoin.networks.vertcoin = {
|
|||||||
},
|
},
|
||||||
pubKeyHash: 0x47,
|
pubKeyHash: 0x47,
|
||||||
scriptHash: 0x05,
|
scriptHash: 0x05,
|
||||||
wif: 0xc7,
|
wif: 0x80,
|
||||||
};
|
};
|
||||||
|
|
||||||
bitcoinjs.bitcoin.networks.vivo = {
|
bitcoinjs.bitcoin.networks.vivo = {
|
||||||
|
|||||||
+1
-1
@@ -2358,7 +2358,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