Subject: [bitcoindev] Add importprivkeys RPC

From: blocktraveler <[email-masked]>
Date: Fri, 3 Oct 2025 00:34:51 -0700 (PDT)

Hy there!

Unfortunately, the PRs are locked, so I'm sharing my thoughts this way.

Over the years, people have asked countless times on various platforms how 
to import private keys (both legacy and Bech32/SegWit) into a Bitcoin Core 
descriptor wallet. This issue is especially common in Namecoin. I see no 
reason why importing private keys, a very basic feature, should be 
restricted to the point that it's impossible for the average user to 
succeed. That's why I created the Core-Wallet-Migration-Tools 
<https://github.com/blocktraveler/Core-Wallet-Migration-Tools> in Python.

However, it would be much easier to have an 'importprivkeys' RPC for 
descriptor wallets (not to be confused with the legacy 'importprivkey' 
call). Pls check my initial thoughts:

Proposal: Add importprivkeys RPC (helper for WIF → descriptor import) 
<https://gist.github.com/blocktraveler/3e6198c698a272bd8b13b16e0f13d390>

Thx!
Uwe

-- 
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email-masked].
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/ad14b140-9e02-466c-8226-304ec651f4ben%40googlegroups.com.