mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-06 02:43:49 +00:00
@@ -1537,4 +1537,15 @@ bitcoinjs.bitcoin.networks.blockstamp = {
|
||||
pubKeyHash: 0x00,
|
||||
scriptHash: 0x05,
|
||||
wif: 0x80,
|
||||
};
|
||||
};
|
||||
|
||||
bitcoinjs.bitcoin.networks.deeponion = {
|
||||
messagePrefix: 'x18DeepOnion Signed Message:\n',
|
||||
bip32: {
|
||||
public: 0x0488B21E,
|
||||
private: 0x0488ADE4,
|
||||
},
|
||||
pubKeyHash: 0x1F,
|
||||
scriptHash: 0x4E,
|
||||
wif: 0x9F,
|
||||
};
|
||||
|
||||
@@ -2368,6 +2368,13 @@
|
||||
setHdCoin(200);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "ONION - DeepOnion",
|
||||
onSelect: function() {
|
||||
network = bitcoinjs.bitcoin.networks.deeponion;
|
||||
setHdCoin(305);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "ONX - Onixcoin",
|
||||
onSelect: function() {
|
||||
|
||||
@@ -1077,6 +1077,13 @@ it('Allows selection of Omnicore', function(done) {
|
||||
};
|
||||
testNetwork(done, params);
|
||||
});
|
||||
it('Allows selection of DeepOnion', function(done) {
|
||||
var params = {
|
||||
selectText: "ONION - DeepOnion",
|
||||
firstAddress: "DVioZ2Rjc9krDf5bbHuixznSDumzvGpzVw",
|
||||
};
|
||||
testNetwork(done, params);
|
||||
});
|
||||
it('Allows selection of Pesobit', function(done) {
|
||||
var params = {
|
||||
selectText: "PSB - Pesobit",
|
||||
|
||||
Reference in New Issue
Block a user