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-cliThe
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#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-qtIf 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:
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fwww.talkimg.com%2Fimages%2F2024%2F04%2F06%2FV5e4J.png&t=665&c=qvdaOs7Tss-bPQ)
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