]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - src/js/index.js
Merge pull request #178 from TrifidTeam/init-nebl-integration
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / src / js / index.js
index b8a76a970c98e8443a1c43ed32358fa5af8f30e8..502bbdff3d4f2b5965c6c16360d085f5c446c1c1 100644 (file)
     function wordArrayToPhrase(words) {
         var phrase = words.join(" ");
         var language = getLanguageFromPhrase(phrase);
-        if (language == "japanese") {
+        if (language == "japanese" || language == "korean") {
             phrase = words.join("\u3000");
         }
         return phrase;
             segwitAvailable: false,
             onSelect: function() {
                 network = bitcoinjs.bitcoin.networks.denarius;
-                setHdCoin(0);
+                setHdCoin(116);
+            },
+        },
+        {
+            name: "NEBL - Neblio",
+            segwitAvailable: false,
+            onSelect: function() {
+                network = bitcoinjs.bitcoin.networks.neblio;
+                setHdCoin(146);
             },
         },
         {