<pre><code>createwallet &quot;MyWallet&quot;
getwalletinfo
{
  &quot;walletname&quot;: &quot;MyWallet&quot;,
  &quot;walletversion&quot;: 169900,
  &quot;format&quot;: &quot;bdb&quot;,
  &quot;balance&quot;: 0.00000000,
  &quot;unconfirmed_balance&quot;: 0.00000000,
  &quot;immature_balance&quot;: 0.00000000,
  &quot;txcount&quot;: 0,
  &quot;keypoololdest&quot;: 1617197424,
  &quot;keypoolsize&quot;: 1000,
  &quot;hdseedid&quot;: &quot;4da0242dbf5124f4f05e6ffaf6bd94c51a9d7858&quot;,
  &quot;keypoolsize_hd_internal&quot;: 1000,
  &quot;paytxfee&quot;: 0.00000000,
  &quot;private_keys_enabled&quot;: true,
  &quot;avoid_reuse&quot;: false,
  &quot;scanning&quot;: false,
  &quot;descriptors&quot;: false
}
</code></pre>
<p>But I don't know what to do next. A lot of commands are deprecated.</p>

CC BY-SA 4.0
2021-04-01T02:54:28.397Z
What are you trying to accomplish? There are commands to get the private keys, but generally this isn't something you should do. What do you need them for?
Pieter Wuille
CC BY-SA 4.0
2021-04-01T04:48:25.967Z
I need to be able to Send / Receive BTC using my own software.
s k
CC BY-SA 4.0
2021-04-01T04:55:20.213Z
By using Bitcoin-Qt, or something else?
Pieter Wuille
CC BY-SA 4.0
2021-04-01T08:30:31.543Z
I am testing with Bitcoin-QT using a private node now. Eventually will be using BTCPayServer
s k
CC BY-SA 4.0
2021-04-01T09:03:30.803Z
NVM, I have found the answer it is ``dumpprivkey``
s k
<bitcoin-core>
How to get private Keys from Wallet using bitcoin-qt
s k
# How to get private Keys from Wallet using bitcoin-qt

(Asked by: username_0 on 2021-04-01)

```
createwallet "MyWallet"
getwalletinfo
{
  "walletname": "MyWallet",
  "walletversion": 169900,
  "format": "bdb",
  "balance": 0.00000000,
  "unconfirmed_balance": 0.00000000,
  "immature_balance": 0.00000000,
  "txcount": 0,
  "keypoololdest": 1617197424,
  "keypoolsize": 1000,
  "hdseedid": "4da0242dbf5124f4f05e6ffaf6bd94c51a9d7858",
  "keypoolsize_hd_internal": 1000,
  "paytxfee": 0.00000000,
  "private_keys_enabled": true,
  "avoid_reuse": false,
  "scanning": false,
  "descriptors": false
}

```

But I don't know what to do next. A lot of commands are deprecated.

**Tags:** bitcoin-core

> **Comments:**
> **username_1**: What are you trying to accomplish? There are commands to get the private keys, but generally this isn't something you should do. What do you need them for?  
> **username_0**: I need to be able to Send / Receive BTC using my own software.  
> **username_1**: By using Bitcoin-Qt, or something else?  
> **username_0**: I am testing with Bitcoin-QT using a private node now. Eventually will be using BTCPayServer  
> **username_0**: NVM, I have found the answer it is ``dumpprivkey``  

---

## 0 answers

