Bitcoin Forum
May 23, 2024, 05:56:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can't seem to create legacy address in Core  (Read 155 times)
sowns (OP)
Jr. Member
*
Offline Offline

Activity: 67
Merit: 3


View Profile
October 02, 2019, 08:35:56 PM
 #1

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.
TryNinja
Legendary
*
Offline Offline

Activity: 2842
Merit: 7040


Crypto Swap Exchange


View Profile WWW
October 02, 2019, 08:38:51 PM
Merited by suchmoon (4), bones261 (4), philipma1957 (2)
 #2

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 if you decide to use it).

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
sowns (OP)
Jr. Member
*
Offline Offline

Activity: 67
Merit: 3


View Profile
October 02, 2019, 08:59:08 PM
 #3

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 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).
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
October 02, 2019, 11:54:46 PM
Last edit: November 15, 2023, 07:17:09 AM by HCP
 #4

Did you run that command on Core or Electrum? Huh I just tried the following...


Seems to work fine...



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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
philipma1957
Legendary
*
Offline Offline

Activity: 4130
Merit: 7912


'The right to privacy matters'


View Profile WWW
October 03, 2019, 12:05:50 AM
 #5

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 if you decide to use it).

Thank you I did not know this.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
October 03, 2019, 01:25:57 AM
 #6

omit the brackets:

getnewaddress "somelabel" "legacy"
sowns (OP)
Jr. Member
*
Offline Offline

Activity: 67
Merit: 3


View Profile
October 03, 2019, 03:06:51 AM
 #7

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=
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!