Add Ritocoin (RITO)

This commit is contained in:
Scotty0448
2021-01-26 16:12:25 -07:00
parent 71573cb380
commit 5b0b1a5c9a
3 changed files with 28 additions and 0 deletions

View File

@@ -1219,6 +1219,17 @@ libs.bitcoin.networks.revolutionvr = {
wif: 0xc6,
};
libs.bitcoin.networks.ritocoin = {
messagePrefix: '\x15Rito Signed Message:\n',
bip32: {
public: 0x0488B21E,
private: 0x0488ADE4,
},
pubKeyHash: 0x19,
scriptHash: 0x69,
wif: 0x80,
};
libs.bitcoin.networks.rsk = {
messagePrefix: '\x18RSK Signed Message:\n',
bip32: {

View File

@@ -3218,6 +3218,13 @@
setHdCoin(4);
},
},
{
name: "RITO - Ritocoin",
onSelect: function() {
network = libs.bitcoin.networks.ritocoin;
setHdCoin(19169);
},
},
{
name: "RVR - RevolutionVR",
onSelect: function() {

View File

@@ -1635,6 +1635,16 @@ it('Allows selection of RevolutionVR', function(done) {
};
testNetwork(done, params);
});
it('Allows selection of Ritocoin', function(done) {
var params = {
selectText: "RITO - Ritocoin",
phrase: "abandon abandon ability",
firstAddress: "BMbHdwDiuaZh4ATp8Xapf4srv3swzAGgkf",
firstPubKey: "036f5f55dc37fa97294a2a5ae4d92735d4392d4405cbbebebf2d70d5d6781be622",
firstPrivKey: "L1CyVD5ADNgSUxZn6kRpJe9e17FDuAZzRGwNjvDBnEqRWjo4SEAX",
};
testNetwork(done, params);
});
it('Allows selection of Rubycoin', function(done) {
var params = {
selectText: "RBY - Rubycoin",