user101040: I've downloaded bitcoin core version 22.0. I created a wallet by this command:
[amirreza@localhost bin]$ ./bitcoin-wallet -wallet=test-wallet create
Topping up keypool...
Wallet info
===========
Name: test-wallet
Format: bdb
Descriptors: no
Encrypted: no
HD (hd seed available): yes
Keypool Size: 2000
Transactions: 0
Address Book: 0

But I don't know how to find my public address (which can be used to receive bitcoin from others). I also tried using bitcoin-qt to find my wallet address but I didn't find anything.
I've seen this question but answers were not helpful to me.

user110222: People here are great but still the question was not answered. For instance, I created a new wallet (p2tr) and an address was also created, iirc. However, I only created this address for the experience of having a p2tr address. I never used it. Now, I woul like to try something with this address and I need to "get it out" of the wallet. I didn't save the address anywhere. So, the question remains. How do we get the address out of a wallet? I don't need nor want to create new addresses. I just need to get the one I created some time ago!
Thank you
Psy
Edited:
A possibility to get the addresses out is:
Get the wallets from your Bitcoin node with the follwoing command:
bitcoin-cli listwallets

Then, get the labels from the wallet you're interested in, in case you have more than one wallet in your node, with the following command:
bitcoin-cli --rpcwallet=<MyWalletName> listlabels

Finally get the addresses out from the labels of interest, if more than one:
bitcoin-cli --rpcwallet=<MyWalletName> getaddressesbylabel <MyLabelofInterest>


user132451: Modern Account-Wallets are "HD" type, generated from a seed (mnemonic + passphrase), BIP32/BIP39 plus BIP44 compliant usually.
For privacy, no address should ever be re-used, you generate a new one for each transaction, or rather your wallet-client software does.
Ideally your account-wallet secrets (seed, xprv & privkeys) for spending are protected by a hardware wallet, which signs transactions generated by your watch-only (pubkeys & addresses only) wallet-client software.

user48884: There is not singular "wallet address". A wallet is a collection of addresses, not a single address. You can get an address that your wallet will control by using the getnewaddress RPC, or by clicking "Create new receiving address" in the "Receive" tab of bitcoin-qt.

101040: <p>I've downloaded bitcoin core version 22.0. I created a wallet by this command:</p>
<pre><code>[amirreza@localhost bin]$ ./bitcoin-wallet -wallet=test-wallet create
Topping up keypool...
Wallet info
===========
Name: test-wallet
Format: bdb
Descriptors: no
Encrypted: no
HD (hd seed available): yes
Keypool Size: 2000
Transactions: 0
Address Book: 0
</code></pre>
<p>But I don't know how to find my public address (which can be used to receive bitcoin from others). I also tried using <code>bitcoin-qt</code> to find my wallet address but I didn't find anything.</p>
<p>I've seen this <a href="https://bitcoin.stackexchange.com/q/42682/101040">question</a> but answers were not helpful to me.</p>
 110222: <p>People here are great but still the question was not answered. For instance, I created a new wallet (p2tr) and an address was also created, iirc. However, I only created this address for the experience of having a p2tr address. I never used it. Now, I woul like to try something with this address and I need to &quot;get it out&quot; of the wallet. I didn't save the address anywhere. So, the question remains. How do we get the address out of a wallet? I don't need nor want to create new addresses. I just need to get the one I created some time ago!
Thank you
Psy</p>
<p>Edited:
A possibility to get the addresses out is:</p>
<p>Get the wallets from your Bitcoin node with the follwoing command:</p>
<pre><code>bitcoin-cli listwallets
</code></pre>
<p>Then, get the labels from the wallet you're interested in, in case you have more than one wallet in your node, with the following command:</p>
<pre><code>bitcoin-cli --rpcwallet=&lt;MyWalletName&gt; listlabels
</code></pre>
<p>Finally get the addresses out from the labels of interest, if more than one:</p>
<pre><code>bitcoin-cli --rpcwallet=&lt;MyWalletName&gt; getaddressesbylabel &lt;MyLabelofInterest&gt;
</code></pre>
 132451: <p>Modern Account-Wallets are &quot;HD&quot; type, generated from a seed (mnemonic + passphrase), BIP32/BIP39 plus BIP44 compliant usually.</p>
<p>For privacy, no address should ever be re-used, you generate a new one for each transaction, or rather your wallet-client software does.</p>
<p>Ideally your account-wallet secrets (seed, xprv &amp; privkeys) for spending are protected by a hardware wallet, which signs transactions generated by your watch-only (pubkeys &amp; addresses only) wallet-client software.</p>
 48884: <p>There is not singular &quot;wallet address&quot;. A wallet is a collection of addresses, not a single address. You can get an address that your wallet will control by using the <code>getnewaddress</code> RPC, or by clicking &quot;Create new receiving address&quot; in the &quot;Receive&quot; tab of bitcoin-qt.</p>
