mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-10 17:36:23 +00:00
32 lines
2.4 KiB
Markdown
32 lines
2.4 KiB
Markdown
# 7.3: Integrating with Hardware Wallets
|
|
|
|
> :information_source: **NOTE:** This is a draft in progress, so that I can get some feedback from early reviewers. It is not yet ready for learning.
|
|
|
|
One of the greatest powers of PSBTs is the ability to hand transactions off to hardware devices. This will be a great development tool for you if you continue to program with Bitcoin. However, it will be hard for you to use if you've set up a VM on Linode per [§2.2](https://github.com/BlockchainCommons/Learning-Bitcoin-from-the-Command-Line/blob/master/02_2_Setting_Up_a_Bitcoin-Core_VPS_with_StackScript.md) or used even more farflung options such as the setup of an AWS linked in [§2.3](https://github.com/BlockchainCommons/Learning-Bitcoin-from-the-Command-Line/blob/master/02_3_Setting_Up_Bitcoin_Core_Other.md), because obviously you have no way to hook a hardware device up to a VM.
|
|
|
|
So, you have three options: (1) read along without testing the code; (2) skip straight ahead to [Chapter 8: Expanding Bitcoin Transactions in Other Ways](08_0_Expanding_Bitcoin_Transactions_Other.md); or (3) install Bitcoin on a local machine to fully test these commands. We suggest option #1.
|
|
|
|
> :warning: **VERSION WARNING:** This is an innovation from Bitcoin Core v 0.17.0. Earlier versions of Bitcoin Core will not be able to work with the PSBT while it is in process (though they will still be able to recognize the final transaction).
|
|
|
|
The methodology for integrating with a Hardware Wallet that is described in this chapter depends on the [Bitcoin Hardware Wallet Interface](https://github.com/bitcoin-core/HWI) released through Bitcoin Core and builds on the [installation](https://github.com/bitcoin-core/HWI/blob/master/README.md) and [usage](https://github.com/bitcoin-core/HWI/blob/master/docs/bitcoin-core-usage.md) instructions found there.
|
|
|
|
## Install Bitcoin Core on a Local Machine
|
|
|
|
_If you just plan to read over this section and not try to work with the commands until you have a local development environment set up, you can skip this instruction, which is about creating a Bitcoin Core installation on a local machine such as a Mac or UNIX machine._
|
|
|
|
|
|
|
|
## Link to a Ledger
|
|
|
|
## Import Addresses
|
|
|
|
## Create a Transaction with PSBT
|
|
|
|
## Summary: Integrating with Hardware Wallets
|
|
|
|
> :fire: ***What's the power of HWI?***
|
|
|
|
## What's Next?
|
|
|
|
Move on to "Bitcoin Scripting" with [Chapter Seven: Introducing Bitcoin Scripts](07_0_Introducing_Bitcoin_Scripts.md).
|