]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - tests/spec/tests.js
Added NANO currency
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / tests / spec / tests.js
index dc6e4b5c690ceb901d3e66572358329f977e4176..d17c8efa4e46ab4badfcf549fe15bcaa87953631 100644 (file)
@@ -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",
@@ -2227,21 +2237,21 @@ it('Allows selection of EtherCore', function(done) {
 });
 it('Allows selection of RBTC - RSK', function(done) {
     var params = {
-        selectText: "RBTC - RSK",
+        selectText: "R-BTC - RSK",
         phrase: "abandon abandon ability",
-        firstAddress: "RGtz5TDdtviAZ9haz1YAUNQzcGVFm5bQrP",
-        firstPubKey: "0219d9b5087ab68edc8a714969d8cb70e7159417b47a05932b227e6f417c7962b9",
-        firstPrivKey: "UsiDPMcpYqCwtzGXo4wiPZp7cwBaKdmbmseioTc1rFQsg21adFc8",
+        firstAddress: "0x37CA764c4b2fe819108448b80d2F35921b035931",
+        firstPubKey: "0x0219d9b5087ab68edc8a714969d8cb70e7159417b47a05932b227e6f417c7962b9",
+        firstPrivKey: "0x6e6f48cc422825f7fd68f2200d3dde757849f15342f252eeb0bc4ebc46089fe1",
     };
     testNetwork(done, params);
 });
 it('Allows selection of tRBTC - RSK Testnet', function(done) {
     var params = {
-        selectText: "tRBTC - RSK Testnet",
+        selectText: "tR-BTC - RSK Testnet",
         phrase: "abandon abandon ability",
-        firstAddress: "RHkrWgnSdJHxQAqEsMErhUUa4icXY6xUUC",
-        firstPubKey: "03f77eb7bd83e92ef47be1abddae7f71fb0bc8a7a1ee4b193662a86ed2705ffc5b",
-        firstPrivKey: "UpqfuSEDKoacrPh4wMV4sJZqCB6DJfYe81oWBr4eb7y9FWQWoo2A",
+        firstAddress: "0x176484B5a155Fe802aCB26055eb1c193D5A576d5",
+        firstPubKey: "0x03f77eb7bd83e92ef47be1abddae7f71fb0bc8a7a1ee4b193662a86ed2705ffc5b",
+        firstPrivKey: "0x18c2400d2f818d28b80d0e31235873bfeef644fc45fd702f54ae0d422cff6ab3",
     };
     testNetwork(done, params);
 });
@@ -2255,6 +2265,26 @@ it('Allows selection of Argoneum', function(done) {
     };
     testNetwork(done, params);
 });
+it('Allows selection of CranePay', function(done) {
+    var params = {
+        selectText: "CRP - CranePay",
+        phrase: "abandon abandon ability",
+        firstAddress: "CcUHPqgmef1BmgWFa9g3YNc8scgVXVh8ip",
+        firstPubKey: "0392af9ea9dc78170c6f68c50bac926f960e50769295f539ac6382a3af2b928740",
+        firstPrivKey: "KHTCAvKHKg1WdLoDSg3VjjyZK5Wk1ihzJENpp2YMb1RmAxrCZrXX",
+    };
+    testNetwork(done, params);
+});
+it('Allows selection of Scribe', function(done) {
+    var params = {
+        selectText: "SCRIBE - Scribe",
+        phrase: "abandon abandon ability",
+        firstAddress: "RYAnPeBLD8veZ9Tw8xugeTC2f9PeZonLHM",
+        firstPubKey: "02c912bc4759c8a209475502fb5352ff5be8a8f13eb72f1732ee25125cd53edc1e",
+        firstPrivKey: "HLZWvNCEUv4ghygjH9A2EYCa9HNRcxe5CS42kzUTmoxJYp3z96QE",
+    };
+    testNetwork(done, params);
+});
 
 // BIP39 seed is set from phrase
 it('Sets the bip39 seed from the prhase', function(done) {