]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - tests/spec/tests.js
Updated Zcoin (XZC) Due to its rebrand fo Firo (FIRO)
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / tests / spec / tests.js
index 92df64ac520f4f99087c3d5a913cae4bd9ac9646..1e1f12e20b386542381930770b191b4f79f7c106 100644 (file)
@@ -1214,6 +1214,16 @@ it('Allows selection of FIO', function(done) {
     };
     testNetwork(done, params);
 });
+it('Allows selection of Firo', function(done) {
+    var params = {
+        selectText: "FIRO - Firo",
+        phrase: "abandon abandon ability",
+        firstAddress: "a6VcMdP4XgAA9Tr7xNszmPG5FZpfRf17Cq",
+        firstPubKey: "0236f2348c32dc62d69488b01988ed1154df261723ec60461cb6e62189984c62db",
+        firstPrivKey: "Y8k3XQRQrJoABEao4Sw45s744g6xth7yviNqFcN7zqPqKUJrrKTQ",
+    };
+    testNetwork(done, params);
+});
 it('Allows selection of Firstcoin', function(done) {
     var params = {
         selectText: "FRST - Firstcoin",
@@ -1844,16 +1854,6 @@ it('Allows selection of Wincoin', function(done) {
     };
     testNetwork(done, params);
 });
-it('Allows selection of Zcoin', function(done) {
-    var params = {
-        selectText: "XZC - Zcoin",
-        phrase: "abandon abandon ability",
-        firstAddress: "a6VcMdP4XgAA9Tr7xNszmPG5FZpfRf17Cq",
-        firstPubKey: "0236f2348c32dc62d69488b01988ed1154df261723ec60461cb6e62189984c62db",
-        firstPrivKey: "Y8k3XQRQrJoABEao4Sw45s744g6xth7yviNqFcN7zqPqKUJrrKTQ",
-    };
-    testNetwork(done, params);
-});
 it('Allows selection of Zcash', function(done) {
     var params = {
         selectText: "ZEC - Zcash",
@@ -2155,6 +2155,16 @@ it('Allows selection of Stellar', function(done) {
     };
     testNetwork(done, params);
 });
+it('Allows selection of Nano', function(done) {
+    var params = {
+        selectText: "NANO - Nano",
+        phrase: "deal wedding panda forum property artist whip total word student sea middle",
+        firstAddress: "nano_15fum9n68681dz73qyu37fuc9tro84gqm86eptdqpm9jutkfnt34agkoqpw5",
+        firstPubKey: "0dbb99e84310c05fca1bfb612b76a3eb15309d79988cb6977b4cf1dea4da6822",
+        firstPrivKey: "30633c8497cc47e0aefd52c7971ffd45e6c5d166274c7978feca3482a859c0af",
+    };
+    testNetwork(done, params);
+});
 it('Allows selection of Wagerr', function(done) {
     var params = {
         selectText: "WGR - Wagerr",
@@ -2275,6 +2285,27 @@ it('Allows selection of Scribe', function(done) {
     };
     testNetwork(done, params);
 });
+it('Allows selection of Binance Smart Chain', function(done) {
+    var params = {
+        selectText: "BSC - Binance Smart Chain",
+        phrase: "abandon abandon ability",
+        firstAddress: "0xe5815d5902Ad612d49283DEdEc02100Bd44C2772",
+        firstPubKey: "0x03e723e5b3aa7d72213f01139aa4783e1b34f74e1a04534e3fd8e29bfe2768af8a",
+        firstPrivKey: "0x8f253078b73d7498302bb78c171b23ce7a8fb511987d2b2702b731638a4a15e7",
+    };
+    testNetwork(done, params);
+});
+
+it('Allows selection of TRX on Tron', function(done) {
+    var params = {
+        selectText: "TRX - Tron",
+        phrase: "abandon abandon ability",
+        firstAddress: "TA891Fu7vVz595BGQpNX2MCzr7yBcxuoC7",
+        firstPubKey: "0337bbb060e6166066f7f9e59e52f67bc23a6c9d0cbc815b82b6d89112444842e7",
+        firstPrivKey: "3a8fbd0379a815764979de86a3fcda759cb62d49e784e7b2a9a03206c90cfae2",
+    };
+    testNetwork(done, params);
+});
 
 // BIP39 seed is set from phrase
 it('Sets the bip39 seed from the prhase', function(done) {