aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriancoleman <1281387+iancoleman@users.noreply.github.com>2021-02-11 12:58:49 +1100
committerGitHub <noreply@github.com>2021-02-11 12:58:49 +1100
commit545348d1594a428a604614b480a271f6450bf47a (patch)
tree7da59ec90e6bdaa34fbec58c07d97f408f37c5a9 /src
parent8835afe8a2a01bb189a8712c0797ea60566f553a (diff)
parentf7125606bf1ac43c91a395707b07c30f887a60cd (diff)
downloadBIP39-545348d1594a428a604614b480a271f6450bf47a.tar.gz
BIP39-545348d1594a428a604614b480a271f6450bf47a.tar.zst
BIP39-545348d1594a428a604614b480a271f6450bf47a.zip
Merge pull request #466 from RitoProject/ritocoin
Add Ritocoin (RITO)
Diffstat (limited to 'src')
-rw-r--r--src/js/bitcoinjs-extensions.js11
-rw-r--r--src/js/index.js7
2 files changed, 18 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index e4996ed..84de8da 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -1219,6 +1219,17 @@ libs.bitcoin.networks.revolutionvr = {
1219 wif: 0xc6, 1219 wif: 0xc6,
1220}; 1220};
1221 1221
1222libs.bitcoin.networks.ritocoin = {
1223 messagePrefix: '\x15Rito Signed Message:\n',
1224 bip32: {
1225 public: 0x0488B21E,
1226 private: 0x0488ADE4,
1227 },
1228 pubKeyHash: 0x19,
1229 scriptHash: 0x69,
1230 wif: 0x8b,
1231};
1232
1222libs.bitcoin.networks.rsk = { 1233libs.bitcoin.networks.rsk = {
1223 messagePrefix: '\x18RSK Signed Message:\n', 1234 messagePrefix: '\x18RSK Signed Message:\n',
1224 bip32: { 1235 bip32: {
diff --git a/src/js/index.js b/src/js/index.js
index 1f4cc1f..713b5e8 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -3240,6 +3240,13 @@
3240 }, 3240 },
3241 }, 3241 },
3242 { 3242 {
3243 name: "RITO - Ritocoin",
3244 onSelect: function() {
3245 network = libs.bitcoin.networks.ritocoin;
3246 setHdCoin(19169);
3247 },
3248 },
3249 {
3243 name: "RVR - RevolutionVR", 3250 name: "RVR - RevolutionVR",
3244 onSelect: function() { 3251 onSelect: function() {
3245 network = libs.bitcoin.networks.revolutionvr; 3252 network = libs.bitcoin.networks.revolutionvr;