Bitcoin Forum
April 03, 2026, 02:12:58 AM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: listdescriptor and importdescriptor  (Read 128 times)
sampei7777 (OP)
Member
**
Offline Offline

Activity: 94
Merit: 61


View Profile WWW
November 10, 2025, 05:05:28 PM
Merited by vapourminer (2), TryNinja (1)
 #1

Hi, just a question.

If I do

Code:
bitcoin-cli listdescriptors true

and than i do

Code:
bitcoin-cli importdescriptors

on previously exported file on a new installatio/machine, will I have the some funds and address of original wallets?

i.e. does listdescriptors true and importdescriptor the same thing that once did dumpprivkey and importprivkey?

Thanks to all


Thanks

ByteStamp
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3920
Merit: 7676


Just writing some code


View Profile WWW
November 10, 2025, 05:19:07 PM
Merited by vapourminer (1), TryNinja (1), satscraper (1)
 #2

Yes, after a rescan

TokenTikas
Full Member
***
Offline Offline

Activity: 224
Merit: 134


✅ NO KYC


View Profile WWW
November 11, 2025, 04:55:12 AM
 #3

If the exported file contains the private key then when you import it to a new machine, you will get your original wallet and funds.

If you only have the public key, you will only be able to view the addresses, not spend the funds.

satscraper
Legendary
*
Offline Offline

Activity: 1428
Merit: 2626



View Profile
November 11, 2025, 09:36:41 AM
Merited by vapourminer (2)
 #4

If the exported file contains the private key then when you import it to a new machine, you will get your original wallet and funds.

If you only have the public key, you will only be able to view the addresses, not spend the funds.

If you set "true" to private arguments of listdescriptors command then private keys are also exported, and after importing relevant discriptors you will be able to spend funds. So, achow101 response has covered your question. In modern wallet architecture listdescriptors true and importdescriptors act as replacements for the dumpprivkey and importprivkey commands used in legacy wallets.



▄▄███████████████████▄▄
▄███████████████████████▄
████████████████████████
█████████████████████████
████████████████████████
████████████▀██████▀████
████████████████████████
█████████▄▄▄▄███████████
██████████▄▄▄████████████
████████████████████████
████████████████▀▀███████
▀███████████████████████▀
▀▀███████████████████▀▀
 
 EARNBET 
██
██
██
██
██
██
██
██
██
██
██
██
██
███████▄▄███████████
████▄██████████████████
██▀▀███████████████▀▀███
▄████████████████████████
▄▄████████▀▀▀▀▀████████▄▄██
███████████████████████████
█████████▌██▀████████████
███████████████████████████
▀▀███████▄▄▄▄▄█████████▀▀██
▀█████████████████████▀██
██▄▄███████████████▄▄███
████▀██████████████████
███████▀▀███████████
██
██
██
██
██
██
██
██
██
██
██
██
██


▄▄▄
▄▄▄███████▐███▌███████▄▄▄
█████████████████████████
▀████▄▄▄███████▄▄▄████▀
█████████████████████
▐███████████████████▌
███████████████████
███████████████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

 King of The Castle 
 $200,000 in prizes
██
██
██
██
██
██
██
██
██
██
██
██
██

 62.5% 

 
RAKEBACK
BONUS
Forsyth Jones
Legendary
*
Offline Offline

Activity: 1862
Merit: 2027


I love Bitcoin!


View Profile WWW
November 11, 2025, 06:09:45 PM
Merited by vapourminer (4), Mia Chloe (2)
 #5

Hi, just a question.

If I do

Code:
bitcoin-cli listdescriptors true

and than i do

Code:
bitcoin-cli importdescriptors

on previously exported file on a new installatio/machine, will I have the some funds and address of original wallets?

i.e. does listdescriptors true and importdescriptor the same thing that once did dumpprivkey and importprivkey?

Thanks to all
In this post you will find instructions on how to import an xpriv according to its script type (address): How to import an xpriv to a descriptor wallet in bitcoin core?

To import individual WIFI private keys, the concept is the same, i opened this thread: [HOW-TO] Import privkeys into a Bitcoin Core descriptor wallet

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!