mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-18 16:32:18 +00:00
namecoin and peercoin
This commit is contained in:
@@ -13364,6 +13364,26 @@ bitcoin.networks.dash = {
|
|||||||
wif: 0xcc,
|
wif: 0xcc,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bitcoin.networks.namecoin = {
|
||||||
|
bip32: {
|
||||||
|
public: 0x0488b21e,
|
||||||
|
private: 0x0488ade4
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x34,
|
||||||
|
//scriptHash: 0x10,
|
||||||
|
wif: 0x80,
|
||||||
|
};
|
||||||
|
|
||||||
|
bitcoin.networks.peercoin = {
|
||||||
|
bip32: {
|
||||||
|
public: 0x0488b21e,
|
||||||
|
private: 0x0488ade4
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x37,
|
||||||
|
//scriptHash: 0x10,
|
||||||
|
wif: 0xb7,
|
||||||
|
};
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<script>// Select components from sjcl to suit the crypto operations bip39 requires.
|
<script>// Select components from sjcl to suit the crypto operations bip39 requires.
|
||||||
|
|
||||||
@@ -15432,6 +15452,20 @@ var Mnemonic = function(language) {
|
|||||||
DOM.bip44coin.val(5);
|
DOM.bip44coin.val(5);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Namecoin",
|
||||||
|
onSelect: function() {
|
||||||
|
network = bitcoin.networks.namecoin;
|
||||||
|
DOM.bip44coin.val(7);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Peercoin",
|
||||||
|
onSelect: function() {
|
||||||
|
network = bitcoin.networks.peercoin;
|
||||||
|
DOM.bip44coin.val(6);
|
||||||
|
},
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
init();
|
init();
|
||||||
|
|||||||
@@ -45,3 +45,23 @@ bitcoin.networks.dash = {
|
|||||||
wif: 0xcc,
|
wif: 0xcc,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bitcoin.networks.namecoin = {
|
||||||
|
bip32: {
|
||||||
|
public: 0x0488b21e,
|
||||||
|
private: 0x0488ade4
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x34,
|
||||||
|
//scriptHash: 0x10,
|
||||||
|
wif: 0x80,
|
||||||
|
};
|
||||||
|
|
||||||
|
bitcoin.networks.peercoin = {
|
||||||
|
bip32: {
|
||||||
|
public: 0x0488b21e,
|
||||||
|
private: 0x0488ade4
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x37,
|
||||||
|
//scriptHash: 0x10,
|
||||||
|
wif: 0xb7,
|
||||||
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -587,6 +587,20 @@
|
|||||||
DOM.bip44coin.val(5);
|
DOM.bip44coin.val(5);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Namecoin",
|
||||||
|
onSelect: function() {
|
||||||
|
network = bitcoin.networks.namecoin;
|
||||||
|
DOM.bip44coin.val(7);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Peercoin",
|
||||||
|
onSelect: function() {
|
||||||
|
network = bitcoin.networks.peercoin;
|
||||||
|
DOM.bip44coin.val(6);
|
||||||
|
},
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
init();
|
init();
|
||||||
|
|||||||
Reference in New Issue
Block a user