aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authorScotty0448 <scotty@chaintek.net>2021-01-26 16:12:25 -0700
committerScotty0448 <scotty@chaintek.net>2021-01-26 16:12:25 -0700
commit5b0b1a5c9aa61d3d5161ee1a7054bf49159dac70 (patch)
tree7bce099d572f0230ff47790f7f565a81b3451670 /src/js
parent71573cb3800ff7708ae19dd22aecf15660a41cc4 (diff)
downloadBIP39-5b0b1a5c9aa61d3d5161ee1a7054bf49159dac70.tar.gz
BIP39-5b0b1a5c9aa61d3d5161ee1a7054bf49159dac70.tar.zst
BIP39-5b0b1a5c9aa61d3d5161ee1a7054bf49159dac70.zip
Add Ritocoin (RITO)
Diffstat (limited to 'src/js')
-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 b049d78..5d889ab 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: 0x80,
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 fd8c16b..f7835fa 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -3219,6 +3219,13 @@
3219 }, 3219 },
3220 }, 3220 },
3221 { 3221 {
3222 name: "RITO - Ritocoin",
3223 onSelect: function() {
3224 network = libs.bitcoin.networks.ritocoin;
3225 setHdCoin(19169);
3226 },
3227 },
3228 {
3222 name: "RVR - RevolutionVR", 3229 name: "RVR - RevolutionVR",
3223 onSelect: function() { 3230 onSelect: function() {
3224 network = libs.bitcoin.networks.revolutionvr; 3231 network = libs.bitcoin.networks.revolutionvr;