Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: sowns on October 02, 2019, 08:35:56 PM



Title: Can't seem to create legacy address in Core
Post by: sowns on October 02, 2019, 08:35:56 PM
How do I get a legacy address for Bitcoin Core? I only need one for testing the signing and verification optionns and external one like blockchain.info don't work.


Title: Re: Can't seem to create legacy address in Core
Post by: TryNinja on October 02, 2019, 08:38:51 PM
Have you tried Electrum[1]? It's a lightweight wallet that doesn't require you to download the whole blockchain. Just select "Legacy" as wallet type when creating a new wallet. Since it's only for a quick test, it should be enough.

Or if you still want to use Bitcoin Core, you can generate a single legacy address by opening the console (Windows -> Console) and using the following command:

Code:
getnewaddress("label of your address" "legacy")



[1] https://electrum.org/#download (the ONLY legit website to download Electrum's wallet. Please double check the URL and verify the file signature (https://bitcoinelectrum.com/how-to-verify-your-electrum-download/) if you decide to use it).


Title: Re: Can't seem to create legacy address in Core
Post by: sowns on October 02, 2019, 08:59:08 PM
Have you tried Electrum[1]? It's a lightweight wallet that doesn't require you to download the whole blockchain. Just select "Legacy" as wallet type when creating a new wallet. Since it's only for a quick test, it should be enough.

Or if you still want to use Bitcoin Core, you can generate a single legacy address by opening the console (Windows -> Console) and using the following command:

Code:
getnewaddress("label of your address" "legacy")



[1] https://electrum.org/#download (the ONLY legit website to download Electrum's wallet. Please double check the URL and verify the file signature (https://bitcoinelectrum.com/how-to-verify-your-electrum-download/) if you decide to use it).
I just tried the code and I get an invalid syntax error. I'm testing Core's message signing option to see if it works without needing to download the whole chain(related to one of the previous thread I posted in).


Title: Re: Can't seem to create legacy address in Core
Post by: HCP on October 02, 2019, 11:54:46 PM
Did you run that command on Core or Electrum? ??? I just tried the following...
https://talkimg.com/images/2023/11/15/z5lea.png

Seems to work fine...




Title: Re: Can't seem to create legacy address in Core
Post by: philipma1957 on October 03, 2019, 12:05:50 AM
Have you tried Electrum[1]? It's a lightweight wallet that doesn't require you to download the whole blockchain. Just select "Legacy" as wallet type when creating a new wallet. Since it's only for a quick test, it should be enough.

Or if you still want to use Bitcoin Core, you can generate a single legacy address by opening the console (Windows -> Console) and using the following command:

Code:
getnewaddress("label of your address" "legacy")



[1] https://electrum.org/#download (the ONLY legit website to download Electrum's wallet. Please double check the URL and verify the file signature (https://bitcoinelectrum.com/how-to-verify-your-electrum-download/) if you decide to use it).

Thank you I did not know this.


Title: Re: Can't seem to create legacy address in Core
Post by: Abdussamad on October 03, 2019, 01:25:57 AM
omit the brackets:

getnewaddress "somelabel" "legacy"


Title: Re: Can't seem to create legacy address in Core
Post by: sowns on October 03, 2019, 03:06:51 AM
Yeah, omitting the brackets is what got the message to work. Thanks guys. Edit: Just to confirm:

195XQiPDrH2XAcduXfRNp87vtk6JoRiesK

Hi, this is sowns on 10/2/2019

IA+S0TMM/yi+4eFTbHZS6xWur7xvv7Yt1Wdfnjz29lApGH1afafh+n3sLNaLe8KnUB5yC1M2ZjOHy+NHNe9vpDs=