Post
Topic
Board Armory
Re: Is there a way to transfer BTC from an offline wallet (Armory) to a new...
by
nc50lc
on 07/06/2021, 07:28:15 UTC
-snip- If you put import the private key on Electrum with the Segwit one the result of the address will convert to the legacy wallet.

I already tried that on Electrum even adding script type it won't let you click the next button. So converting them into compressed private key will solve his issue.
That's because of Electrum's current behavior when importing private keys:
  • If there's no prefix, it will import the private key into P2PKH whether it's WIF compressed or not.
  • If there's a prefix, it will follow that prefix's script type.
  • For SegWit (P2WPKH / P2WPKH-P2SH), it wont take uncompressed WIF private key because using uncompressed WIF prvKey in SegWit is non-standard.

Converting the WIF keys to compressed surprisingly works (not for P2SH-P2PK, only for P2SH-P2WPKH),
Armory will display the uncompressed WIF key when you try to export a P2WPKH-P2SH address' keys (which is wrong IMO), but able to derive the correct nested SegWit address based from the compressed public key.
Maybe that's why that option when selecting an address type is grayed-out in the GUI of v0.96.5.