Private-Key-Export

如何從我的 Bitcoin-Qt 客戶端導出我的私鑰?

  • October 29, 2021

嘗試使用此發布的方法:

要從您的 Satoshi bitcoin-qt 客戶端導出私鑰:

launch your bitcoin client as usual and wait for it to load the blockchain and start up
click on 'help' in the menu bar (top right)
click on 'debug window'
select the 'console' tab
type: walletpassphrase "your walletpassphrase here" 600
type: dumpprivkey [your bitcoin address here]
this will return the private key, you can copy it now; ensure you clear your clipboard/history afterwards
type: walletlock

我不明白“你的錢包密碼”是什麼意思。據我所知,我沒有錢包密碼。

另外,我在這方面有點業餘,我仍然不明白“你的公鑰”……是你錢包對應的地址嗎?[更新:是的,比特幣地址。]

嘗試將私鑰導出到另一個錢包,因為比特幣錢包已經同步了 2 天,但仍未完成。

任何幫助將不勝感激。

我相信這listreceivedbyaddress 0 true沒有列出作為正常客戶端操作的一部分創建的更改地址。

從比特幣 0.7 開始,您應該使用bitcoind listaddressgroupings獲取所有地址,然後像往常一樣使用dumpprivkey.

如果您從未加密過您的錢包,那麼您不需要執行“walletpassphrase”命令。僅當錢包受到密碼片語加密保護時,才需要解鎖錢包。

至於dumpprivkey的公鑰,就是詢問你想要私鑰的比特幣地址。

要獲取錢包中的比特幣地址列表,您可以使用:

listreceivedbyaddress 0 true

引用自:https://bitcoin.stackexchange.com/questions/7536