Skip to content

feat: add BIP-431 (TRUC) support #477

@oleonardolima

Description

@oleonardolima

Describe the enhancement
As reported in #419 we don't have proper support for BIP-431 (TRUC) transactions, which have different specification/policy for what outputs/nVersion can be used/mixed together, see BIP-431.

As described in-depth on BIP-431, and mentioned here we need to support the following specification:

Use case

It allows users to properly build TRUC transactions, without the need for any workaround as mentioned here: #419 (comment) (specially L2s, such as: Lightning, Ark, ...)

Impact

  • Blocking production usage
  • Nice-to-have / UX improvement
  • Developer experience / maintainability

Are you using BDK in a production project?

  • Yes
  • No
  • Not yet, but planning to

Which backend(s) are relevant (if any)?

  • Electrum
  • Esplora
  • Bitcoin Core RPC
  • None / not backend-related (e.g. bdk_chain, bdk_core)
  • Other (please specify): ____

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions