Author

Topic: [Solved] Import bech32 address and priv key into new Electrum wallet (Read 109 times)

hero member
Activity: 1176
Merit: 647
I rather die on my feet than to live on my knees
Out of curiosity:
What are the prefixes for the other types of addresses? It's their designations alone?

On the PK import window, there is an "info" button which you can use to see the types/prefixes:



Oh crap. I feel dumb... :p
Thanks
staff
Activity: 3402
Merit: 6065
Out of curiosity:
What are the prefixes for the other types of addresses? It's their designations alone?

On the PK import window, there is an "info" button which you can use to see the types/prefixes:

hero member
Activity: 1176
Merit: 647
I rather die on my feet than to live on my knees
Make sure to add the prefix before the private keys, so instead of just pasting the PKs, do this instead:

Code:
p2wpkh:private_key_here



Out of curiosity:
What are the prefixes for the other types of addresses? It's their designations alone?
legendary
Activity: 2212
Merit: 5622
Non-custodial BTC Wallet
And I have one other quesiton:
Does Electrum alreadu supports the p2tr addresses or it's still too soon? Smiley

It is planned, but not implemented yet:

https://github.com/spesmilo/electrum/issues/7544
Quote
SomberNight commented on Nov 17, 2021
Yes, naturally we plan to add taproot support.
Initially only singlesig wallets with keypath spends will be implemented.

To be able to create watch-only versions of these wallets (required before we can expose it to users), some wallet-refactoring and wizard changes are needed, as we don't want to extend the current x/y/zpub scheme. Most likely some form of output script descriptors should be used.

No ETA, but it is on the TODO list.
hero member
Activity: 1176
Merit: 647
I rather die on my feet than to live on my knees
Make sure to add the prefix before the private keys, so instead of just pasting the PKs, do this instead:

Code:
p2wpkh:private_key_here



Oh, ok, thank you sir!

And I have one other quesiton:
Does Electrum alreadu supports the p2tr addresses or it's still too soon? Smiley
staff
Activity: 3402
Merit: 6065
Make sure to add the prefix before the private keys, so instead of just pasting the PKs, do this instead:

Code:
p2wpkh:private_key_here

hero member
Activity: 1176
Merit: 647
I rather die on my feet than to live on my knees
Hello.

I tried to import the priv key of a bech32 address into a newly created wallet in Electrum, however, the address imported starts not by "bc1" but by the old "1" address type.
This Electrum wallet is offline and has no internet connectivity. How can I make the bech32 address type to show up in Electrum instead of the old p2sh??
Jump to: