Merge pull request #242 from Stoner19/master

Salus (SLS) support added
This commit is contained in:
iancoleman
2018-08-22 10:06:38 +10:00
committed by GitHub
3 changed files with 22 additions and 0 deletions

View File

@@ -1023,6 +1023,16 @@ bitcoinjs.bitcoin.networks.rubycoin = {
wif: 0xbc, wif: 0xbc,
}; };
messagePrefix: '\x18Salus Signed Message:\n',
bip32: {
public: 0x0488B21E,
private: 0x0488ADE4,
},
pubKeyHash: 0x3f,
scriptHash: 0xc4,
wif: 0xbf,
};
bitcoinjs.bitcoin.networks.smileycoin = { bitcoinjs.bitcoin.networks.smileycoin = {
messagePrefix: '\x18Smileycoin Signed Message:\n', messagePrefix: '\x18Smileycoin Signed Message:\n',
bip32: { bip32: {

View File

@@ -2314,6 +2314,13 @@
setHdCoin(129); setHdCoin(129);
}, },
}, },
{
name: "SLS - Salus",
onSelect: function() {
network = bitcoinjs.bitcoin.networks.salus;
setHdCoin(63);
},
},
{ {
name: "SDC - ShadowCash", name: "SDC - ShadowCash",
onSelect: function() { onSelect: function() {

View File

@@ -1075,6 +1075,11 @@ it('Allows selection of Rubycoin', function(done) {
}; };
testNetwork(done, params); testNetwork(done, params);
}); });
it('Allows selection of Salus', function(done) {
var params = {
selectText: "SLS - Salus",
firstAddress: "SgdYBmVytcW2aCYitdegwkUcCU7RSqYokB",
};
it('Allows selection of Smileycoin', function(done) { it('Allows selection of Smileycoin', function(done) {
var params = { var params = {
selectText: "SMLY - Smileycoin", selectText: "SMLY - Smileycoin",