Pages:
Author

Topic: Electrum new wallets => Seed Type: Segwit (Read 238 times)

legendary
Activity: 2268
Merit: 18492
December 13, 2022, 05:01:19 AM
#21
Maybe this would be possible after full RBF is set to default on Bitcoin Core which may occur next year as o_e_l_e_o presumed.
Or maybe not. The pull request for setting mempoolfullrbf=1 as default (i.e. enabling it as default) was closed a few weeks ago, and just yesterday was removed from the v25.0 list of milestones: https://github.com/bitcoin/bitcoin/pull/26305#event-8016077680

There is still a lot of discussion and arguments going on on the mailing list too. It might well be contentious enough that we don't get full RBF by default in v25.0 and it is pushed back to a later version.
legendary
Activity: 1498
Merit: 4776
December 12, 2022, 06:53:03 PM
#20
I think that Electrum developers also removed optional RBF, so now all transaction will be broadcasted with RBF by default.
I think Electrum in some previous release, do not make opt-in RBF to be default. Later, opt-in RBF has been by  default on the newer update releases since many months ago. On desktop electrum, you can still be able to uncheck opt-in RBF on preference as hosseinimr93 posted, also while on mobile Electrum, no more on setting, but you can check a transaction not to support opt-in RBF (anytime you are making a transaction). Not checked by default.

The only reason I think Electrum developers can remove opt-in RBF is only when almost all nodes support full RBF. Maybe this would be possible after full RBF is set to default on Bitcoin Core which may occur next year as o_e_l_e_o presumed.
legendary
Activity: 2324
Merit: 5033
Non-custodial BTC Wallet
December 12, 2022, 06:11:30 PM
#19
I think that Electrum developers also removed optional RBF, so now all transaction will be broadcasted with RBF by default.
You have the option to choose whether you want your transaction to be flagged as RBF or not.
If you don't want your transaction to be RBF, you can go to "Preferences" and uncheck "Use Replace-By-Fee". You can also check/uncheck "Replace by Fee" on "Create transaction" window.
legendary
Activity: 2128
Merit: 6871
December 12, 2022, 05:53:53 PM
#18
I recently discovered that in newer Electrum versions you are not able to generate Legacy addresses anymore from a fresh wallet.
I think that Electrum developers also removed optional RBF, so now all transaction will be broadcasted with RBF by default.
You can always use alternative open source wallets instead of Electrum, for example Sparrow Wallet is really good and I think you can still use all address formats there.
I prefer using segwit format most of the times, but I would understand that in some cases people need to use old formats, for whatever reasons.
legendary
Activity: 2268
Merit: 18492
December 12, 2022, 05:17:46 PM
#17
This address is also obsolete  Cheesy
Unless you are using the console, you can only create a new wallet that uses bch addresses in electrum new versions.
Not for individual vanity addresses like this. You simply create a new wallet, select "Import bitcoin addresses or private keys", and then paste the relevant private key with the prefix "p2wpkh-p2sh:" for a nested segwit address such as this one.

I agree that it is trivial... but I expected those basic features to be universal, and not something that only works in electrum and a few more wallets.
Well, there's more to it than that. Creating a universal signing scheme which will work for all bitcoin addresses and all script types is not trivial. If you are really interested, you can have a read of BIP322 and the issues surrounding it:
https://github.com/bitcoin/bips/blob/master/bip-0322.mediawiki
https://github.com/bitcoin/bips/pull/1347
https://github.com/bitcoin/bitcoin/pull/16440

Electrum have a created a very specific solution for signing with one specific type of address. And so if you want to use this specific solution, then just download Electrum.
legendary
Activity: 2212
Merit: 5622
Non-custodial BTC Wallet
December 12, 2022, 04:49:19 PM
#16
3Chymistu2BS56TuweMrwVgEyCLHXrtFxR

This address is also obsolete  Cheesy
Unless you are using the console, you can only create a new wallet that uses bch addresses in electrum new versions.


I would say there is one little advantage on legacy addresses.  You can easily verify a signed message from a legacy address using any Software.
It is trivial for a third party to download and install Electrum if they don't already have it in order to verify a signed message if the wallet software they are using does not support public key recovery via segwit addresses.

I agree that it is trivial... but I expected those basic features to be universal, and not something that only works in electrum and a few more wallets.
legendary
Activity: 2268
Merit: 18492
December 12, 2022, 04:29:47 PM
#15
but it'd be pretty damn hard to create anything cool out of a segwit address unless maybe it starts with a 3.
Oh I dunno about that. Wink Here are a couple I just spun up:

3Chymistu2BS56TuweMrwVgEyCLHXrtFxR
bc1qscepchymy3k8t8gvng50gpuudvp3swawws075c

Now I would offer to send you the private keys, but of course that would be a highly risky move on your part to use an address where I know the private key. But if you did want such an address, then I could generate one for you using a split key, which means I don't know the private key.
legendary
Activity: 2324
Merit: 5033
Non-custodial BTC Wallet
December 12, 2022, 03:11:13 PM
#14
I don't know if they still are, but it'd be pretty damn hard to create anything cool out of a segwit address unless maybe it starts with a 3.
It's possible to generate bech32 vanity addresses and I don't think that's more difficult than generating a legacy vanity address.
The only problem with a segwit address is that it can't include 1, b , i and o and you can't have a vanity address containing those characters.


On a related note, if you import a Mycelium seed phrase into Electrum, you have to choose BIP38 and then you get a choice of address types, legacy included.  
Not only mycelium's seed phrase. Any BIP39 seed phrase can be used for generating different types of addresses.
legendary
Activity: 3234
Merit: 6706
Proudly Cycling Merits for Foxpup
December 12, 2022, 02:58:56 PM
#13
We are seeing the obsolescence of Legacy addresses. Maybe they will be rare someday and not generated by most new software.
Since there's literally no advantage of using it over SegWit, I don't see why not.
Yeah, but they're so cute!  Lol.  I remember reading really old threads here, and vanity addresses used to be a pretty big thing--I don't know if they still are, but it'd be pretty damn hard to create anything cool out of a segwit address unless maybe it starts with a 3.

On a related note, if you import a Mycelium seed phrase into Electrum, you have to choose BIP38 and then you get a choice of address types, legacy included.  That confused the hell out of me back when I was much more ignorant about these things (I'm still ignorant, but less so because of the collective wisdom of bitcointalk experts).
copper member
Activity: 2142
Merit: 4219
Join the world-leading crypto sportsbook NOW!
December 12, 2022, 01:40:05 PM
#12
I would say there is one little advantage on legacy addresses.  You can easily verify a signed message from a legacy address using any Software.

Honestly, I think this is a horrible reason to choose legacy over segwit addresses.  It's also unlikely that the core dev team will implement a method for signing and encrypting messages with Taproot addresses, but that won't prevent me from using Taproot exclusively as soon as I can.  

I recommend familiarizing yourself with GnuPG for signing and encrypting messages, it's a far more practical tool for this use case.


Code:
make_seed(128,"","standard")

Electrum will also allow you to create 24 word seed phrases with the same command just by changing the nbits field:

Code:
make_seed(256,"","segwit")
legendary
Activity: 2198
Merit: 2825
Non-custodial BTC Wallet
December 12, 2022, 10:27:40 AM
#11
AFAIK, there is no standard to verify sign message from segwit addresses,  and even bitcoin Core can't do it.
Yes, Bitcoin Core does not support segwit address sign messages. I have asked this before. Here is achow101's answer:

There is no solution and you cannot sign a message with a segwit address. This has been the case since segwit was introduced. See https://github.com/bitcoin/bitcoin/issues/10542


Looks like electrum created it own verification and it is non Standard.
Currently, the Trezor Suite provides an option to sign messages using the Trezor or Electrum format.




-snip-
If you sign a message from the legacy address derived from your private key, you have actually signed the same message from the segwit address derived from the same private key as well.
Note that you sign the message with your private key, not with your address.
There may be a little note on the Electrum private key:

Note that Electrum uses a special format for private keys in order to indicate what type of address they should be used for.

legendary
Activity: 2268
Merit: 18492
December 12, 2022, 10:22:16 AM
#10
I would say there is one little advantage on legacy addresses.  You can easily verify a signed message from a legacy address using any Software.
It is trivial for a third party to download and install Electrum if they don't already have it in order to verify a signed message if the wallet software they are using does not support public key recovery via segwit addresses. Or alternatively, and slightly more complicated, they could convert the segwit address in to its corresponding legacy address and use that to perform public key recovery and signature verification, as I explain here: https://bitcointalksearch.org/topic/m.61126295
legendary
Activity: 2324
Merit: 5033
Non-custodial BTC Wallet
December 12, 2022, 05:45:34 AM
#9
Looks like electrum created it own verification and it is non Standard.
That's standard.
As you know, a private key can generate different types of addresses.
If you sign a message from the legacy address derived from your private key, you have actually signed the same message from the segwit address derived from the same private key as well.
Note that you sign the message with your private key, not with your address.
legendary
Activity: 1498
Merit: 4776
December 12, 2022, 05:23:03 AM
#8
I would say there is one little advan on legacy addresses.  You can easily verify a signed message from a legacy address using any Software.
Never mind if I mention close source wallet along, but they are not recommendable, obviously. The first wallet I used, Coinomi (close source), I did signed a message with bitcoin address using it several times. Later, I used Electrum, it can also sign a message. Recently, I was testing Bluewallet, it signed message too.

AFAIK, there is no standard to verify sign message from segwit addresses,  and even bitcoin Core can't do it. Looks like electrum created it own verification and it is non Standard.
https://bitcointalksearch.org/topic/m.29647827
Only what I noticed was that a message signed with a segwit address on a wallet can be verified on other wallets that support segwit address message signing. I do not think signing a message with segwit should be a problem this time around.
legendary
Activity: 2212
Merit: 5622
Non-custodial BTC Wallet
December 12, 2022, 05:10:05 AM
#7
We are seeing the obsolescence of Legacy addresses. Maybe they will be rare someday and not generated by most new software.
Since there's literally no advantage of using it over SegWit, I don't see why not.


I would say there is one little advantage on legacy addresses.  You can easily verify a signed message from a legacy address using any Software.

AFAIK, there is no standard to verify sign message from segwit addresses,  and even bitcoin Core can't do it. Looks like electrum created it own verification and it is non Standard.
https://bitcointalksearch.org/topic/m.29647827
legendary
Activity: 2338
Merit: 5297
Self-proclaimed Genius
December 12, 2022, 12:51:17 AM
#6
We are seeing the obsolescence of Legacy addresses. Maybe they will be rare someday and not generated by most new software.
Since there's literally no advantage of using it over SegWit, I don't see why not.

Electrum supported legacy in the GUI for quite a while because of the compatibility issue of bech32 addresses to some services, exchange and wallets.
But now that most of services/exchange support bech32, they decided to remove the ability to create it in the GUI.

For reference, here's the pull-request: https://github.com/spesmilo/electrum/pull/6806
legendary
Activity: 2198
Merit: 2825
Non-custodial BTC Wallet
December 11, 2022, 09:55:27 PM
#5
using the console was the only way I found that can generate a Legacy address using Electrum seed type.
Since version 4.1.0, in the Electrum wallet creation wizard, the seed type selection option has been removed:





However, the seed type option still appears when creating a new Electrum wallet connected to a hardware wallet.

 

legendary
Activity: 2212
Merit: 5622
Non-custodial BTC Wallet
December 11, 2022, 06:59:16 PM
#4
I have just generated Electrum legacy address using the console and I import it, it worked and it generated legacy address.

Since the version 4.1.0, electrum generates a segwit wallet by default and don't ask you the wallet type.
If you want to generate a legacy wallet on electrum, you can go to console and use the following command.

Code:
make_seed(128,"","standard")

using the console was the only way I found that can generate a Legacy address using Electrum seed type.

Thanks
legendary
Activity: 1498
Merit: 4776
December 11, 2022, 06:55:43 PM
#3
When I created a new wallet using their own seed standard (not bip39), I noticed that they didn't ask me which derivation path ( I wasn't able to choose Legacy). So I tried to import that new Seed into a new Electrum wallet. Look what I found:
I was confused when I saw this, to know if Electrum has changed the  seed version system, but nothing like that. I have just generated Electrum legacy address using the console and I imported it. It worked and it generated legacy address.

If it is BIP39 seed phrase, Electrum would bring up the option to select any of the three derivation paths (legacy, nested segwit and native segwit) and choose the one that you want to use. If it is Electrum seed phrase, there won't be anything like that because the seed phrase for address types on Electrum are different as a result of version number.

Read about it here:
Electrum Seed Version System
legendary
Activity: 2324
Merit: 5033
Non-custodial BTC Wallet
December 11, 2022, 06:46:22 PM
#2
Electrum's seed phrases include a version number that determines the addresses type. Unlike BIP39 seed phrases, you can't generate different types of addresses using an electrum's seed phrase. In other words, you can't generate a legacy wallet using a seed phrase that has been generated by electrum for a segwit wallet and vise versa.

Since the version 4.1.0, electrum generates a segwit wallet by default and don't ask you the wallet type.
If you want to generate a legacy wallet on electrum, you can go to console and use the following command.

Code:
make_seed(128,"","standard")
Pages:
Jump to: