Bitcoin Forum
November 09, 2024, 03:32:41 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how to generate new type of addresses  (Read 172 times)
ashleytointon@hotmail.com (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 19, 2021, 11:44:38 PM
 #1

Hi, how can i Generate new seed type to generate addresses without native (true) segwit.

i would like addresses starting with 1 or 3 not bc. Smiley
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
April 19, 2021, 11:47:30 PM
 #2

What wallet are you using?

The process will be different for all the wallets. Generally for any wallet other than Electrum, seed types are interchangable and is only dependent on how the wallet treats the seeds.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
dkbit98
Legendary
*
Offline Offline

Activity: 2408
Merit: 7560



View Profile WWW
April 20, 2021, 11:29:20 AM
 #3

Hi, how can i Generate new seed type to generate addresses without native (true) segwit.

i would like addresses starting with 1 or 3 not bc. Smiley

If you are talking about Electrum wallet, they removed option for choosing Legacy (starting with 1) or P2WPKH (starting with 3) address formats but you can still generate them with console or with installing old Electrum version 4.0.9.
However I don't see any reason for using old style addresses now especially when fees are high like they are currently, and bech32 are better for saving fees.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
April 20, 2021, 11:31:15 AM
 #4

I don't see any reason for using old style addresses especially when fees are high like they are currently, and bech32 are best for saving fees.
Probably compatibility. Wallets like Blockchain.com or several other services do not recognize bech32 addresses. If you want to switch to a bech32 wallet, you'll need a non-bech32 address first.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
April 23, 2021, 07:16:37 AM
 #5

Hi, how can i Generate new seed type to generate addresses without native (true) segwit.

i would like addresses starting with 1 or 3 not bc. Smiley
If you're using Bitcoin Core... you can simply start the application using the -addresstype and -changetype parameters and set it to "legacy" (for "1"-type addresses) or "p2sh-segwit" (for "3"-type addresses).

Alternatively, you can edit the bitcoin.conf file and add:
Code:
addresstype="legacy"
changetype="legacy"

or

Code:
addresstype="p2sh-segwit"
changetype="p2sh-segwit"


I don't really recommend using either legacy or p2sh-segwit... but if you must, at least use p2sh-segwit, as you'll be getting partial benefit of SegWit using those addresses.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
ashleytointon@hotmail.com (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 23, 2021, 11:49:18 PM
 #6

  Great advice,
I guess  the consensus is that I keep Electrum bc wallet and find a provider who can supply to bc wallets (not coinmama).
Cheers Ash.

Chikito
Legendary
*
Offline Offline

Activity: 2562
Merit: 2076


View Profile WWW
April 24, 2021, 12:41:51 AM
 #7

  Great advice,
I guess the consensus is that I keep Electrum bc wallet and find a provider who can supply to bc wallets (not coinmama).
Cheers Ash.
Glad to see that provider accepted your request.

i would like addresses starting with 1 or 3 not bc. Smiley

If you want to create to standard address (begin with 1) on electrum, you should go to the console (it doesn't appear, click view and click show console) then type the code below:

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


that's example empty balance seed

electrum isn't generated address with 3, but you can generate it using iancoleman tool by getting the master key from electrum.

go to electrum console then type: getmasterprivate ()

copy to iancoleman tool offline on BIP32 Root Key

on the Derivation Path click BIP 141 and choose Script Semantics to P2WPKH nested in P2SH

you can see the result box.



This means you will get the private key address with 3 then importing back to the electrum wallet.

but you should be learning about security wallets first. I won't recommend it to use with have balance inside. try it with zero or create a new wallet. I'm just for sharing.

dwyor.
nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6356


Self-proclaimed Genius


View Profile
April 24, 2021, 03:05:13 AM
 #8

i would like addresses starting with 1 or 3 not bc. Smiley
I guess  the consensus is that I keep Electrum bc wallet and find a provider who can supply to bc wallets (not coinmama).
That's because bc1 address is recommended for your own good to save in fees and for the whole network as well.
Anyways, you can create P2WPKH-nested-in-P2SH, a.k.a. '3' SegWit addresses in Electrum by importing a BIP39 seed.
For that, you need to generate BIP39 seed, the most recommended for newbies is an offline copy of iancoleman's BIP39 tool (link in the post above).
Read "Offline Usage" below iancoleman's page.

There, you can generate 12/24-word seed phrase and import it to Electrum using these options:
  • "File->New/Restore" - type a wallet name, click 'next'
  • "Standard wallet->I already have a seed"
  • Paste the BIP39 seed, click "option" and tick 'BIP39 seed', see if the text below says "BIP39 (checksum: ok)", if yes, click 'next'
  • Select "p2sh-segwit (p2wpkh-p2sh)", click next; and lastly, type a strong password.
Your addresses tab (View->Addresses) should contain '3' SegWit addresses.
You won't be able to recover your seed phrase from the wallet so make sure to write it on a piece of paper as backup (who wouldn't?).

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
April 24, 2021, 08:14:50 AM
 #9

electrum isn't generated address with 3, but you can generate it using iancoleman tool by getting the master key from electrum.
The way Electrum generates the seed makes the derivation path and the seed type unambiguous when compared to BIP39's implementation. It wouldn't help to try to derive an address of a different format using the other key. It makes the whole process far more complicated than needed.

Just generating a BIP39 seed (and selecting appropriate derivation methods) would be far better than going through additional loops that could be prone to user errors.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18746


View Profile
April 24, 2021, 10:04:12 AM
 #10

-snip-
I definitely wouldn't do this.

For starters, using getmasterprivate() with an Electrum generated segwit seed phrase does not return the master private key, but rather the extended private key at m/0'. If you then pasted that in and use the derivation path m/0, then your first address is being generated at the derivation path m/0'/0/0. Using non-standard generation methods and derivation paths like this usually results in running in to problems in the future

It also involves using a website which should be ran offline (but many people won't do this), and handling raw private keys, both of which are an additional security risk. And in your screenshot, I realize you have toggled off private keys, but it might be confusing for newbies who would end up importing a list of addresses and accidentally create a watch only wallet. Then there is the issue with the wallet not automatically creating new change addresses and the impact on privacy this has.

A far simpler and safer option is just to create a new wallet in Electrum using a BIP39 seed phrase and select the "p2sh-segwit" option when prompted.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!