Post
Topic
Board Bitcoin Technical Support
Merits 1 from 1 user
Topic OP
bitcoin-cli dumpprivkey Only legacy wallets are supported by this command
by
Fudmottin
on 18/04/2023, 06:57:40 UTC
⭐ Merited by ETFbitcoin (1)
Bitcoin Client Software and Version Number: Bitcoin Core version v24.0.1
Operating System: MacOS 13.3.1 (22E261)
System Hardware Specs: M2 Mac mini 16GB Ram
Description of Problem: I'm unable to export my private keys so that I can use my bitcoin core wallet on my iPhone
Any Related Addresses: bc1qat89vm35675s6k3u04n27g3wthjnhj0g0a0c36
Any Related Transaction IDs: NA
Screenshot of the problem: NA
Log Files from the Bitcoin Client: NA

$ bitcoin-cli getwalletinfo
{
  "walletname": "miner",
  "walletversion": 169900,
  "format": "sqlite",
  "balance": 0.00000000,
  "unconfirmed_balance": 0.00000000,
  "immature_balance": 0.00000000,
  "txcount": 0,
  "keypoolsize": 4000,
  "keypoolsize_hd_internal": 4000,
  "unlocked_until": 0,
  "paytxfee": 0.00000000,
  "private_keys_enabled": true,
  "avoid_reuse": false,
  "scanning": false,
  "descriptors": true,
  "external_signer": false
}

bitcoin-cli dumpwallet gives the same error.

No transactions have been made to or from this wallet yet. I created it with Bitcoin Core. I'm hoping to use this wallet for mining. I also want a copy on my iPhone in the Bitcoin.com wallet app. I don't know what's broken here. I compiled from GitHub source. No GUI.

Any ideas?