Post
Topic
Board Electrum
Re: P2SH-P2WSH in Electrum
by
Zaguru12
on 02/05/2024, 10:05:18 UTC
Yes since from electrum version 4.1.0 the default address has been a p2wpkh, but I think you can still restore other addresses from same private key when you prephend.
p2pkh:private key for legacy address ( address starting with 1), p2wpkh-p2sh: for nests SegWit addresses (address starting with 3) and p2wpkh: for Native SegWit addresses (addresses starting with bc1)

Here is also how to use console on it

# Release 4.1.0 - Kangaroo (March 30, 2021)
-snip-
 * The wallet creation wizard no longer asks for a seed type, and
   creates segwit wallets with bech32 addresses. Older seed types can
   still be created with the command line.
-snip-

To create a Legacy address, open the Console Tab (View Menu -> Show Console). Type the following command line:

Quote
make_seed(128,"","standard")
https://github.com/spesmilo/electrum/blob/master/electrum/commands.py#L320-L325

For example:



Then create a new wallet using the seed generated through the Console. Here is an example of the results: