From 5b0b1a5c9aa61d3d5161ee1a7054bf49159dac70 Mon Sep 17 00:00:00 2001 From: Scotty0448 Date: Tue, 26 Jan 2021 16:12:25 -0700 Subject: Add Ritocoin (RITO) --- src/js/bitcoinjs-extensions.js | 11 +++++++++++ src/js/index.js | 7 +++++++ 2 files changed, 18 insertions(+) (limited to 'src') diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index b049d78..5d889ab 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js @@ -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: { diff --git a/src/js/index.js b/src/js/index.js index fd8c16b..f7835fa 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -3218,6 +3218,13 @@ setHdCoin(4); }, }, + { + name: "RITO - Ritocoin", + onSelect: function() { + network = libs.bitcoin.networks.ritocoin; + setHdCoin(19169); + }, + }, { name: "RVR - RevolutionVR", onSelect: function() { -- cgit v1.2.3