Bitcoin Forum

Bitcoin => Electrum => Topic started by: Marinelah1993 on September 08, 2021, 09:41:43 AM



Title: Electr
Post by: Marinelah1993 on September 08, 2021, 09:41:43 AM
When I want to create a new wallet, there is no option to select SegWit or Legacy anymore? I just created a wallet and some people saying that they cant send me BTC because my wallet is not SegWit, but other people who dont use SegWit wallet then they can send me BTC... Is it possible to create electrum segwit wallet? Because I dont see that option anymore.


Title: Re: Electr
Post by: khaled0111 on September 08, 2021, 09:56:07 AM
Since version 4.1.0, it's no longer possible to create legacy wallets from GUI. Electrum will create a segwit wallet (bech32 addresses starting with bc1) by default.
To create a legacy wallet, you have to use the command line.
From the Console tab, type the following command:
Code:
make_seed(seed_type="standard")


Title: Re: Electr
Post by: Marinelah1993 on September 08, 2021, 10:03:13 AM
Thank you very much for your reply and for helping me.

I just found Coinomi Wallet and supports all 3x addresses.


Title: Re: Electr
Post by: hosseinimr93 on September 08, 2021, 01:00:43 PM
It's not that anyone who use a legacy wallet can't send bitcoin to segwit addresses. You can send bitcoin from any address type to any other address type.
Those who can't send bitcoin to segwit addresses are using outdated wallets that haven't been upgraded after 4 years.
I recommend you to use segwit wallets and suggest others to use a wallet supporting segwit addresses too.

Electrum creates segwit addresses by default to encourage people to use segwit addresses.
Note that by using native segwit addresses (those that start with bc1), the transaction fee can decrease up to 54%.


Title: Re: Electr
Post by: Charles-Tim on September 08, 2021, 06:40:38 PM
When I want to create a new wallet, there is no option to select SegWit or Legacy anymore? I just created a wallet and some people saying that they cant send me BTC because my wallet is not SegWit, but other people who dont use SegWit wallet then they can send me BTC... Is it possible to create electrum segwit wallet? Because I dont see that option anymore.
How is possible, it is not possible, the only problem some exchanges have is that you can not send from some exchanges that have not upgraded their software to support segwit, but people telling you that they can not send to other addresses except segwit are not right, you can send to other addresses which are nested segwit and legacy addresses even on the exchanges that have not upgraded their software to support segwit. Even if they are using noncustododial wallet, like Electrum, they will be able to send from one address type to another irrespective of it being legacy, nested segwit or native segwit.

If it is segwit address that you need, just use the Electrum, Electrum do not bring the option of the address type to be generated, but it generate segwit by default which is the address you need to generate.

And if you want to generate legacy address, khaled0111 is much more correct, or you can downgrade your Electrum wallet to version 4.0.9 which will bring you the address type selection, but the best advice is to use the latest Electrum version.

I just found Coinomi Wallet and supports all 3x addresses.
I will not advice you to use Coinomi, it is a close source wallet, close source wallets can be deadly than you think now and in the future, even if a spyware is included among the code or if there are other malware, you will not be able to know, the public will not be able to know, do not use close source wallets when there are reputed open source wallets like Electrum.



Title: Re: Electr
Post by: hosseinimr93 on September 08, 2021, 07:07:02 PM
the only problem some exchanges have is that you can not send from some exchanges that have not upgraded their software to support segwit, but people telling you that they can not send to other addresses except segwit are not right,
I feel OP has confused segwit addresses with Legacy addresses. Seems that he (wrongly) thinks that the addresses that were generated by electrum are called legacy.


To OP:
Addresses that start with 1 are called legacy.
Addresses that start with 3 are called nested segwit*
Addresses that start with bc1 are called native segwit.

*Not all addresses that start with 3 are segwit. They may be multi-sig.


Title: Re: Electr
Post by: BitMaxz on September 08, 2021, 11:58:14 PM
Thank you very much for your reply and for helping me.

I just found Coinomi Wallet and supports all 3x addresses.

Are you talking about addresses that start with 3?

Actually, Coinomi wallet generates a P2SH address, it has 3 options default(segwit), Compatibility(P2SH address), and then legacy address.
So if you use the compatibility option as your receiving address it's a p2sh address that is why it supported.

Some of the exchanges still do not support segwit that is why most of the wallet right now has the option to choose segwit and legacy wallet.
But not all wallets are safe Coinomi wallet is fine only if you are using it for a small transaction but for holding a large number of coins it is not safe as other non-custodial wallets.


Title: Re: Electr
Post by: pooya87 on September 09, 2021, 03:00:24 AM
But not all wallets are safe Coinomi wallet is fine only if you are using it for a small transaction but for holding a large number of coins it is not safe as other non-custodial wallets.
Shady closed source wallets with a history of malicious acts are only "fine" if they are used on a system that is not the main system containing other stuff including cryptocurrency wallets or other sensitive information and only if they you have absolutely no other choice. For example in case you want to claim a shitcoin that has no light wallet. Otherwise for bitcoin they must be avoided.


Title: Re: Electr
Post by: hugeblack on September 09, 2021, 03:02:07 PM
I just found Coinomi Wallet and supports all 3x addresses.
make_seed command provides you with the possibility to create 3 seeds for each type of address, thus much better than relying on Coinomi Wallet.
Coinomi is closed source, poorly programmed, has sync issues and doesn't estimate fees correctly, you're right you'll gain a lot of time using it but at the cost of security and lower fees + generating 3 seeds won't take any time and don't require programming experience.


Title: Re: Electr
Post by: o_e_l_e_o on September 09, 2021, 07:46:18 PM
make_seed command provides you with the possibility to create 3 seeds for each type of address, thus much better than relying on Coinomi Wallet.
Electrum does not create nested segwit addresses. Your options with seed_type are either "standard" or "segwit", for P2PKH or P2WPKH addresses respectively.

From the Console tab, type the following command:
Code:
make_seed(seed_type="standard")
Alternatively, you can use the following command:

Code:
create(seed_type="standard")

This will create a legacy wallet and display the associated seed phrase all at once. You can also add the following additional options to that command:

Code:
encrypt_file="True"
passphrase="Your passphrase here"
password="Your password here"
wallet_path="path/to/your/wallet"


Title: Re: Electr
Post by: hosseinimr93 on September 09, 2021, 08:51:27 PM
make_seed command provides you with the possibility to create 3 seeds for each type of address,
As stated by o_e_l_e_o in the previous post, there is no way to generate a nested segwit seed phrase on electrum.
For having a HD nested segwit wallet on electrum, the only solution is to generate a BIP39 seed phrase somewhere else like iancoleman (https://iancoleman.io/bip39/) and import it into electrum.


Title: Re: Electr
Post by: DireWolfM14 on September 10, 2021, 10:15:12 PM
For having a HD nested segwit wallet on electrum, the only solution is to generate a BIP39 seed phrase somewhere else like iancoleman (https://iancoleman.io/bip39/) and import it into electrum.

It doesn't have to be a Bip39 seed, it can be done with a seed generated by Electrum.  You just have to generate a seed and when creating a new wallet select "I already have a seed."  It's not a recommended method, for various reasons that have been brought up before, but it does work.

https://i.ibb.co/XLJ18fq/Capture.png


Title: Re: Electr
Post by: hosseinimr93 on September 10, 2021, 10:53:31 PM
It doesn't have to be a Bip39 seed, it can be done with a seed generated by Electrum.  You just have to generate a seed and when creating a new wallet select "I already have a seed."  It's not a recommended method, for various reasons that have been brought up before, but it does work.
A seed generated by electrum for a specific type of addresses can't be used for generating other types of addresses unless you check BIP39.
Once you enter an electrum's seed phrase, electrum identify the wallet type and there won't be any option for selecting addresses type at all.

Look at the image below.
Once I enter the seed phrase, electrum displays the seed type and it's not possible to generate a nested segwit or a legacy wallet with that.

https://i.imgur.com/NUoToJc.jpg


If you want to have a nested segwit wallet, you have to check BIP39.


Title: Re: Electr
Post by: DireWolfM14 on September 10, 2021, 11:48:21 PM
If you want to have a nested segwit wallet, you have to check BIP39.

Yes, of course.  My point was that you don't have to use the iancolman tool; a seed generated by Electrum will also allow to you to select the "Bip39" option, and you can indeed create a nested segwit HD wallet by doing so.  I made the distinction between a Bip39 seed and an Electrum seed because they are technically different.

Again, this is not a recommendation.


Title: Re: Electr
Post by: hosseinimr93 on September 11, 2021, 10:35:22 AM
a seed generated by Electrum will also allow to you to select the "Bip39" option, and you can indeed create a nested segwit HD wallet by doing so.  
Right.
And that's because when BIP39 option is checked, electrum allows you to generate a wallet using any arbitrary characters or words. Not only it doesn't have to be a BIP39 seed phrase, but it doesn't even have to be a seed phrase generated by electrum.

https://i.imgur.com/dHfjJ6b.jpg