1. Search for this function (should be near Line ~104000):
self.check = function(mnemonic)
Change the last line from:
return h == nh;
to:
return true;
2. Search for this function (should be just under the one above):
self.toSeed = function(mnemonic, passphrase)
Change the following line from:
passphrase = "mnemonic" + passphrase;
to:
passphrase = "electrum" + passphrase;
NOTES:
- This will break the checksum functionality. The "return true;" modification basically makes it think ANY seed you type in is correct.
- To get it to generate the same addresses as Electrum:
1. Enter Electrum Seed
2. Click "BIP32" tab
3. Set "client" to "Custom Derivation Path"
4. Set "BIP32 Derivation Path" to: m/0 (to see "change" addresses, use m/1 )