diff options
author | Ilan <36084092+ilanolkies@users.noreply.github.com> | 2020-01-22 12:16:51 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-22 12:16:51 -0300 |
commit | e9491c7efd88b23fc505f546845f52bfbb7fd864 (patch) | |
tree | e1dae7cf8b4d6b43581726608bc7318e88f67d57 /src/js | |
parent | d07983bc1fa691821cc2580ce4490638cee4f630 (diff) | |
download | BIP39-e9491c7efd88b23fc505f546845f52bfbb7fd864.tar.gz BIP39-e9491c7efd88b23fc505f546845f52bfbb7fd864.tar.zst BIP39-e9491c7efd88b23fc505f546845f52bfbb7fd864.zip |
Add network
Based on https://github.com/rsksmart/RSKIPs/blob/master/IPs/RSKIP57.md
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/index.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/js/index.js b/src/js/index.js index 92772f6..fc467fe 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -2948,6 +2948,20 @@ | |||
2948 | }, | 2948 | }, |
2949 | }, | 2949 | }, |
2950 | { | 2950 | { |
2951 | name: "RBTC - RSK", | ||
2952 | onSelect: function() { | ||
2953 | network = libs.bitcoin.networks.rubycoin; | ||
2954 | setHdCoin(137); | ||
2955 | }, | ||
2956 | }, | ||
2957 | { | ||
2958 | name: "tRBTC - RSK Testnet", | ||
2959 | onSelect: function() { | ||
2960 | network = libs.bitcoin.networks.rubycoin; | ||
2961 | setHdCoin(37310); | ||
2962 | }, | ||
2963 | }, | ||
2964 | { | ||
2951 | name: "RBY - Rubycoin", | 2965 | name: "RBY - Rubycoin", |
2952 | onSelect: function() { | 2966 | onSelect: function() { |
2953 | network = libs.bitcoin.networks.rubycoin; | 2967 | network = libs.bitcoin.networks.rubycoin; |