Skip to content

Conversation

Sjors
Copy link
Member

@Sjors Sjors commented Nov 23, 2021

Builds on #22558 (merged on 2022-06-28).

HWI 2.1.0 or newer is required to import and use taproot descriptors. Older versions will work, but won't import a taproot descriptor.

Tested with HWI 2.1.1:

  • Trezor T (firmware v2.5.1) on Signet: signs, change detection works
  • Ledger Nano S (firmware 2.1.0, Bitcoin app 2.0.6): signs, change detection works

Only the most basic tr(key) descriptor is supported, script path spending is completely untested (if it works at all).

@DrahtBot
Copy link
Contributor

DrahtBot commented Nov 23, 2021

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #24313 (Improve display address handling for external signer by Sjors)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@Sjors Sjors force-pushed the 2021/11/taproot_signer branch from 2467086 to 5095a60 Compare December 30, 2021 09:20
@Sjors
Copy link
Member Author

Sjors commented May 10, 2022

Rebased, but won't work yet.

@Sjors Sjors force-pushed the 2021/11/taproot_signer branch 2 times, most recently from 7bb5846 to cfa4d41 Compare May 10, 2022 14:25
@Sjors Sjors marked this pull request as ready for review May 10, 2022 14:36
@Sjors
Copy link
Member Author

Sjors commented May 10, 2022

Updated the external signer code to also look for fingerprints in input.m_tap_bip32_paths, so now it works.

@Sjors Sjors force-pushed the 2021/11/taproot_signer branch from cfa4d41 to 08abaa6 Compare May 20, 2022 07:55
@Sjors Sjors force-pushed the 2021/11/taproot_signer branch from 08abaa6 to 9b9e4e7 Compare June 27, 2022 13:49
@Sjors Sjors force-pushed the 2021/11/taproot_signer branch from 9b9e4e7 to 796b020 Compare June 28, 2022 15:15
@Sjors
Copy link
Member Author

Sjors commented Jun 28, 2022

Hooray, #22558 was merged, so this is now just one commit on top of master.

@jb55
Copy link
Contributor

jb55 commented Jun 28, 2022

utACK 796b020

@achow101
Copy link
Member

ACK 796b020

@fanquake fanquake merged commit 28cf756 into bitcoin:master Oct 26, 2022
@Sjors Sjors deleted the 2021/11/taproot_signer branch October 26, 2022 13:44
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Oct 27, 2022
796b020 wallet: add taproot support to external signer (Sjors Provoost)

Pull request description:

  Builds on bitcoin#22558 (merged on 2022-06-28).

  [HWI 2.1.0](https://github.com/bitcoin-core/HWI/releases/tag/2.1.0) or newer is required to import and use taproot descriptors. Older versions will work, but won't import a taproot descriptor.

  Tested with HWI 2.1.1:
  * Trezor T (firmware v2.5.1) on Signet: signs, change detection works
  * Ledger Nano S (firmware 2.1.0, Bitcoin app 2.0.6): signs, change detection works

  Only the most basic `tr(key)` descriptor is supported, script path spending is completely untested (if it works at all).

ACKs for top commit:
  jb55:
    utACK 796b020
  achow101:
    ACK 796b020

Tree-SHA512: 6dcb7eeb45421a3bbf2bdabeacd29979867db69077d7bf192bb77faa4bfefe446487b8df07bc40f9457009a88e598bdc09f769e6106fed2833ace7ef205a157a
@bitcoin bitcoin locked and limited conversation to collaborators Oct 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants