1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
|
Delivery-date: Fri, 03 Oct 2025 01:58:31 -0700
Received: from mail-oa1-f58.google.com ([209.85.160.58])
by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.94.2)
(envelope-from <bitcoindev+bncBCBNXYPCTQHRBLFA73DAMGQE4TH4UVA@googlegroups.com>)
id 1v4bcU-0001Q3-M5
for bitcoindev@gnusha.org; Fri, 03 Oct 2025 01:58:31 -0700
Received: by mail-oa1-f58.google.com with SMTP id 586e51a60fabf-35568e6088asf3348353fac.0
for <bitcoindev@gnusha.org>; Fri, 03 Oct 2025 01:58:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20230601; t=1759481904; x=1760086704; darn=gnusha.org;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-sender:mime-version
:subject:message-id:to:from:date:sender:from:to:cc:subject:date
:message-id:reply-to;
bh=biHVPI/n7GaMOIDjoYK2F0K8lhIIQpKywY1ZhL38JQE=;
b=lcNZSjNEUka7sns9wm5b1uM94cbwh1FuGjyhlEDgCsVBAN3DAWQdljItRz3e9zyus8
X9z8SRVYqn/3D13fCRpjM2U/cBIOWNcUGQCYIWSPZGtaU+nLpV07HkoTWFnT4S9WpYLJ
EoWfV37viqYHvTJJ9JbgHEZRzv5NFw/EmPqHn8UGHilK40jFrHiLhJnQFD4StJiTXzRj
e6tY/JZxOkpYVilb6RAx+ylJOlD1Yi1bbciGPVe7Sq5LAO8mIHt7ES7o0qVtGDbR+hiM
fcyhdlgxJ9qqqbCzZfHNhvk7JU8TS+eKvZLmDtk4fQySdgjmxSbaDk4nbuUBeNKuWSXj
/IDQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1759481904; x=1760086704; darn=gnusha.org;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-sender:mime-version
:subject:message-id:to:from:date:from:to:cc:subject:date:message-id
:reply-to;
bh=biHVPI/n7GaMOIDjoYK2F0K8lhIIQpKywY1ZhL38JQE=;
b=IVZ0w4EMYsjWUVclV4km25Lvsv9TfqhbYGFexPYfpBdCSDfD62s4AGkEtEeDR2IM/0
vSSuKI7bcGmyO6V+7dizeqy5CD6JuFj0IFrQDXA38fos2UCLlBL5fDjWng1cm/WMMOHy
PeftOGHadHSIWZpuST6MdKBHgk0dzPTOnhNxTdDtzZsThmVVe8a8LL8V0pMESHwYuuiJ
rDQbOwq8DbohYp/qlZ8kDmALrkeXe/gVoGGw5UhCl6RaYG0DCA7dANOExvJAH7fEcNj/
/+emLWChL9rTggAQy94hL5KuRW5FNq8gSOrLz0j9QFjNbbAd92dlf4Mo9CdhiAQbEikz
sqdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1759481904; x=1760086704;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-sender:mime-version
:subject:message-id:to:from:date:x-beenthere:x-gm-message-state
:sender:from:to:cc:subject:date:message-id:reply-to;
bh=biHVPI/n7GaMOIDjoYK2F0K8lhIIQpKywY1ZhL38JQE=;
b=DB3yqoAag31Ajf6m67rDQjTKKQy+40QmsYweXcszhjUSimwZQs0kbybq5dknE3wDSE
3lVSV1RB5B1BrKU7yv0Mijfu118bomXslJ4hrHrGO12fRoMDgJMMz7K3/VzHOwIYnPBh
yhs2cF8+k0hXWeg+SI6vF86LlUnddTdw/VT9Da4tFK5ID5AzgKnhmO9PdRxWrw/2b/pW
biEeVaCd9aBYKKtjkZJUhkfFRtOYzjQdan5Aauoedhn9pSKaHIshT7S46hKg9U62ZV5P
YCOSuG3DrZTfwqeFtJREI7f4wfPUkg+njINJHEqm4UXfU9U5gF+tan9Y4z7/rW4txOdv
8DRA==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=1; AJvYcCVLEoGaIIRElCj6EC7ynaPxy7hXAQoEy4mc/su7DCuwukupfUB/WXG26KXxnuoTT5a02POoakeYC99T@gnusha.org
X-Gm-Message-State: AOJu0YxAw3FuSQMPd0xGxaiVbCyxrqRarxA99wem76w9vC4QBPec69DV
2g4/Tz111a1hc6/lSg4t26BNFOQSNgW+AmbDR0VdYiDI3TbWPO23NdS6
X-Google-Smtp-Source: AGHT+IFXhIKcFVqzDAV4yYiWKR5A8Jdd+YxF/SpvhitUZqaSkIosvtVNTgtGmn9VEw7oq0u0tcJmCA==
X-Received: by 2002:a05:6870:b00d:b0:321:7bd4:963d with SMTP id 586e51a60fabf-3b0f4fbff25mr1517218fac.14.1759481904360;
Fri, 03 Oct 2025 01:58:24 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h="ARHlJd4w/oEZIePenTry1UNpJ5XJ43+MFr8flk/D3AsCUI2C5g=="
Received: by 2002:a05:687c:50:20b0:319:c62c:c8e0 with SMTP id
586e51a60fabf-3abe817f8afls962716fac.0.-pod-prod-07-us; Fri, 03 Oct 2025
01:58:20 -0700 (PDT)
X-Received: by 2002:a05:6808:1599:b0:438:427a:dfe6 with SMTP id 5614622812f47-43fc18895abmr838158b6e.49.1759481900374;
Fri, 03 Oct 2025 01:58:20 -0700 (PDT)
Received: by 2002:a05:690c:ed6:b0:725:2535:e36 with SMTP id 00721157ae682-77f93fd870bms7b3;
Fri, 3 Oct 2025 00:34:52 -0700 (PDT)
X-Received: by 2002:a05:690c:2603:b0:721:5b31:54be with SMTP id 00721157ae682-77f946e22aemr29714837b3.39.1759476892222;
Fri, 03 Oct 2025 00:34:52 -0700 (PDT)
Date: Fri, 3 Oct 2025 00:34:51 -0700 (PDT)
From: blocktraveler <ueberspannung@gmail.com>
To: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Message-Id: <ad14b140-9e02-466c-8226-304ec651f4ben@googlegroups.com>
Subject: [bitcoindev] Add importprivkeys RPC
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_162502_1800324069.1759476891912"
X-Original-Sender: ueberspannung@gmail.com
Precedence: list
Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com
List-ID: <bitcoindev.googlegroups.com>
X-Google-Group-Id: 786775582512
List-Post: <https://groups.google.com/group/bitcoindev/post>, <mailto:bitcoindev@googlegroups.com>
List-Help: <https://groups.google.com/support/>, <mailto:bitcoindev+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/bitcoindev
List-Subscribe: <https://groups.google.com/group/bitcoindev/subscribe>, <mailto:bitcoindev+subscribe@googlegroups.com>
List-Unsubscribe: <mailto:googlegroups-manage+786775582512+unsubscribe@googlegroups.com>,
<https://groups.google.com/group/bitcoindev/subscribe>
X-Spam-Score: -0.5 (/)
------=_Part_162502_1800324069.1759476891912
Content-Type: multipart/alternative;
boundary="----=_Part_162503_71230100.1759476891912"
------=_Part_162503_71230100.1759476891912
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
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=
=20
to import private keys (both legacy and Bech32/SegWit) into a Bitcoin Core=
=20
descriptor wallet. This issue is especially common in Namecoin. I see no=20
reason why importing private keys, a very basic feature, should be=20
restricted to the point that it's impossible for the average user to=20
succeed. That's why I created the Core-Wallet-Migration-Tools=20
<https://github.com/blocktraveler/Core-Wallet-Migration-Tools> in Python.
However, it would be much easier to have an 'importprivkeys' RPC for=20
descriptor wallets (not to be confused with the legacy 'importprivkey'=20
call). Pls check my initial thoughts:
Proposal: Add importprivkeys RPC (helper for WIF =E2=86=92 descriptor impor=
t)=20
<https://gist.github.com/blocktraveler/3e6198c698a272bd8b13b16e0f13d390>
Thx!
Uwe
--=20
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 e=
mail to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/=
ad14b140-9e02-466c-8226-304ec651f4ben%40googlegroups.com.
------=_Part_162503_71230100.1759476891912
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<br />Hy there!<br /><br />Unfortunately, the PRs are locked, so I'm sharin=
g my thoughts this way.<br /><br />Over the years, people have asked countl=
ess times on various platforms how to import private keys (both legacy and =
Bech32/SegWit) into a Bitcoin Core descriptor wallet. This issue is especia=
lly 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 t=
he average user to succeed. That's why I created the <a href=3D"https://git=
hub.com/blocktraveler/Core-Wallet-Migration-Tools">Core-Wallet-Migration-To=
ols</a> in Python.<br /><br />However, it would be much easier to have an '=
importprivkeys'=C2=A0RPC for descriptor wallets (not to be confused with th=
e legacy 'importprivkey' call). Pls check my initial thoughts:<br /><br /><=
a href=3D"https://gist.github.com/blocktraveler/3e6198c698a272bd8b13b16e0f1=
3d390">Proposal: Add importprivkeys RPC (helper for WIF =E2=86=92 descripto=
r import)</a><br /><br />Thx!<br />Uwe<br /><br /><br />
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Bitcoin Development Mailing List" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:bitcoindev+unsubscribe@googlegroups.com">bitcoind=
ev+unsubscribe@googlegroups.com</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
bitcoindev/ad14b140-9e02-466c-8226-304ec651f4ben%40googlegroups.com?utm_med=
ium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/bitcoind=
ev/ad14b140-9e02-466c-8226-304ec651f4ben%40googlegroups.com</a>.<br />
------=_Part_162503_71230100.1759476891912--
------=_Part_162502_1800324069.1759476891912--
|