Add network
authorIlan <36084092+ilanolkies@users.noreply.github.com>
Wed, 22 Jan 2020 15:16:51 +0000 (12:16 -0300)
committerGitHub <noreply@github.com>
Wed, 22 Jan 2020 15:16:51 +0000 (12:16 -0300)
Based on https://github.com/rsksmart/RSKIPs/blob/master/IPs/RSKIP57.md

src/js/index.js

index 92772f6840013a41e1f08ef6ae34b6c5de4163c8..fc467fe55188f9428dbec3d57377e430a07afc4c 100644 (file)
                 setHdCoin(175);
             },
         },
+        {
+            name: "RBTC - RSK",
+            onSelect: function() {
+                network = libs.bitcoin.networks.rubycoin;
+                setHdCoin(137);
+            },
+        },
+        {
+            name: "tRBTC - RSK Testnet",
+            onSelect: function() {
+                network = libs.bitcoin.networks.rubycoin;
+                setHdCoin(37310);
+            },
+        },
         {
             name: "RBY - Rubycoin",
             onSelect: function() {