]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - tests/spec/tests.js
Add Binance Smart Chain (BSC) support
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / tests / spec / tests.js
index 36cd7be89f80c025674f6b3fd5689df13a505292..73e3087af450402f5e58bbea1aa7bb0f13f9ea91 100644 (file)
@@ -2255,6 +2255,36 @@ 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);
+});
+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);
+});
 
 // BIP39 seed is set from phrase
 it('Sets the bip39 seed from the prhase', function(done) {