Bitcoin Forum
May 24, 2024, 06:21:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Where are bitcoin core receiving addresses?  (Read 90 times)
hussong first (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 05, 2024, 12:49:05 AM
 #1

Long experience with linux and 3 years with various cheaper coins.  I set up a separate machine where I run bitcoin core.  No problem compiling it or installing it.  Currently using 26.1, but I have tried 25.0 and 26.0.  I want to transfer some bitcoin into my new wallet.  Where do I get a receiving address so I can send myself some bitcoin to test my wallet?
hd49728
Legendary
*
Offline Offline

Activity: 2100
Merit: 1032



View Profile WWW
April 05, 2024, 02:24:39 AM
 #2

Did you try with Console?

Type
Code:
Getnewaddress

https://github.com/BlockchainCommons/Learning-Bitcoin-from-the-Command-Line/blob/master/03_3_Setting_Up_Your_Wallet.md#create-an-address

.freebitcoin.       ▄▄▄█▀▀██▄▄▄
   ▄▄██████▄▄█  █▀▀█▄▄
  ███  █▀▀███████▄▄██▀
   ▀▀▀██▄▄█  ████▀▀  ▄██
▄███▄▄  ▀▀▀▀▀▀▀  ▄▄██████
██▀▀█████▄     ▄██▀█ ▀▀██
██▄▄███▀▀██   ███▀ ▄▄  ▀█
███████▄▄███ ███▄▄ ▀▀▄  █
██▀▀████████ █████  █▀▄██
 █▄▄████████ █████   ███
  ▀████  ███ ████▄▄███▀
     ▀▀████   ████▀▀
BITCOIN
DICE
EVENT
BETTING
WIN A LAMBO !

.
            ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
▄▄▄▄▄██████████████████████████████████▄▄▄▄
▀██████████████████████████████████████████████▄▄▄
▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
  ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
       ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.PLAY NOW.
nc50lc
Legendary
*
Offline Offline

Activity: 2422
Merit: 5624


Self-proclaimed Genius


View Profile
April 05, 2024, 05:09:05 AM
 #3

I set up a separate machine where I run bitcoin core.  No problem compiling it or installing it.  Currently using 26.1, but I have tried 25.0 and 26.0.  I want to transfer some bitcoin into my new wallet.  Where do I get a receiving address -snip-
Are you using "bitcoind" in the command line or "bitcoin-qt" (with GUI)?
Have you created a new wallet yet?
New Bitcoin Core versions aren't configured to create a new wallet automatically.

If none, start with createwallet command with "bitcoin-cli" (use: bitcoin-cli help createwallet for examples).
Then you can now use the command in the first reply like this: bitcoin-cli getnewaddress

Or if you're using bitcoin-qt: Create a new wallet in "File->Create Wallet...", then you can now use the 'Receive' tab.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
promise444c5
Full Member
***
Online Online

Activity: 294
Merit: 156

Keep Promises !


View Profile
April 06, 2024, 12:25:10 AM
Last edit: April 06, 2024, 12:35:19 AM by promise444c5
 #4

Long experience with linux and 3 years with various cheaper coins.  I set up a separate machine where I run bitcoin core.  No problem compiling it or installing it.  Currently using 26.1, but I have tried 25.0 and 26.0.  I want to transfer some bitcoin into my new wallet.  Where do I get a receiving address so I can send myself some bitcoin to test my wallet?

In addition, if you use the bitcoind with the bitcoin-cli
The bitcoin-cli getnewaddress will always generate a bitcoinLegacy address [pay-to-pubkey-hash(P2PKH)]by default,if you need to use a segwit type [bech32 or p2sh-segwit]
You need to add addresstype in your bitcoin.conf
Code:
#addresstype= < your preferred: bech32 or p2sh-segwit>
#Like this
#E.g
addresstype=bech32
Now  bitcoin-cli getnewaddress will always return a  bech32 address  type
You can edit this to your preferred as many times as you want  but note by default it will always return a Legacy address

For the bitcoin-qt
If you have an existing  wallet with a backed up wallet.dat
Go to file->Restore->select your wallet.dat from it directory
If not then you can just create one just as  it's been mentioned above by @nc50lc

Then you can create a request which gives you a new address from Receive ,for example  like this:


The label and message part is optional*
You can choose to make request in [BTC,mBTC,ųBTC(bits),Satoshi(stas)
You can select the kind of address you want [Legacy, Segwit]
click on Create new receiving address after filling , you should see your new address

If you are willing to test then you could use the testnet  mode ,testing with testnet coins, that way you won't  be using your real coin....

Tip: you can also use the getnewaddress directly on your  GUI console
nc50lc
Legendary
*
Offline Offline

Activity: 2422
Merit: 5624


Self-proclaimed Genius


View Profile
April 06, 2024, 03:38:13 AM
 #5

In addition, if you use the bitcoind with the bitcoin-cli
The bitcoin-cli getnewaddress will always generate a bitcoinLegacy address [pay-to-pubkey-hash(P2PKH)]by default,if you need to use a segwit type [bech32 or p2sh-segwit]
I'm pretty sure after v0.20.0, it'll default to "bech32" if addresstype isn't set as an option or the -address_type isn't specified with the command.
In the GUI, it is the default since v0.19.0.1.

That's considering that the wallet has an active ranged wpkh descriptor or an HD legacy wallet.

As for using the console in the GUI, it think it's silly since a more convenient method is readily available in the 'Receive' tab ;D

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!