Skip to content

Instantly share code, notes, and snippets.

View blocktraveler's full-sized avatar

Uwe Martens blocktraveler

View GitHub Profile
@blocktraveler
blocktraveler / importprivkeys_rpc_proposal.md
Last active October 4, 2025 00:42
Proposal: Add importprivkeys RPC for WIF to descriptor imports in Bitcoin Core

Proposal: Add importprivkeys RPC (helper for WIF → descriptor import)

On-chain Archive

nft/importprivkeys_rpc_proposal.md


Motivation

With descriptor wallets now the default in Bitcoin Core, users can no longer use importprivkey to import raw WIF keys. Instead, they must manually construct descriptors and call importdescriptors. While this is technically correct and explicit, it poses challenges for users who:

  • are migrating from legacy wallets or paper wallets,