0

How can i get the public key of my segwit address with my extended public key. when i import the xpub into electrum it automatically creates a legacy wallet for me. i'm not with my nano and won't be with it for a while, please how do i go about it, thanks.

0

You should change derive path to 49 instead of 44. if you are planning to use bech32 addresses then you should make your path 84 but it's not supported yet on electrum.

  • Thats the problem it doesn't let me choose the derivation path, it goes straight to creating the wallet when i put in my xpub key – chicko Mar 8 '18 at 18:27
  • you should use the mnemonic phrase to import your wallet because I think they assume the path is 44 for that xPUP – Adam Mar 9 '18 at 1:13
  • As i said in my original post, i am not close to my ledger or my seed i just want to monitor my address, please do you know another way? – chicko Mar 9 '18 at 9:07
  • if you have your addresses you can add it to electrum as (watch-only) so you watch it. – Adam Mar 9 '18 at 10:27
  • I only have the xpub, i thought that was all i needed and when i import into electrum i get the legacy address and i use segwit. – chicko Mar 9 '18 at 11:06
0

You have to convert the xpub into p2wpkh or p2wpkh-p2sh format. You can use this script to do it.

  • I have no idea how i am meant to run that script, can you please guide me? – chicko Mar 9 '18 at 9:06
  • see the readme file. you have to run it with the python3 interpreter in a terminal/shell. – Abdussamad Mar 9 '18 at 21:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.