Hello,
I've been playing around with Ian Colemans BIP39 tool trying to generate the same associated p2sh-segwit (p2wpkh-p2sh) addresses from a 12 word seed phrase with it that Electrum generated from said seed.
My problem is that I just can't get it to work properly, the addresses generated by Ians tool do not match the Electrum derived addresses:
https://i.imgur.com/w68rD3d.png https://i.imgur.com/0Wb7Isr.pngWhat I've done to get to this point so far...
As Electrum dosen't generate standard seed phrases (12th word isn't a cheksum),
to get addresses generated at all, I needed to edit the source code of Ians tool following the Instructions from here:
https://bitcointalk.org/index.php?topic=2373020.msg24316954#msg24316954Used the 2017 version of the tool as I don't understand coding at all and the latest release didn't have the same code so I did not know what to replace.
So I replaced the code in the index file of the 2017 (0.2.

release and the tool let me put in the seed without giving me an error.
I then realised the derivaton path electrum used, m/49'/0'/0', isn't available in the old release so I replaced the Index file from the latest release with the edited one from 2017.
I am now able to put in the seed in the latest version and also choose the correct derivation path but like mentioned earlier my problem is the addresses don't match:
https://i.imgur.com/J5vREGP.pngIf anyone knows what I am doing wrong or is just generally interested to find out how it would work too, I'd appreciate any solutions or ideas regarding the topic
Thanks for reading
Link to the online tool:
https://iancoleman.io/bip39/Link to the latest source code:
https://github.com/iancoleman/bip39/archive/master.zipLink to the 2017 version:
https://github.com/iancoleman/bip39/archive/0.2.8.zip