Skip to content

zombierecovery: create standard PSBT for increased compatibility #233

@guggero

Description

@guggero

Currently, chantools uses a custom field in the PSBT that's created in the createoffer sub command of zombierecovery to signal to the other party what key to use to sign.
Example:

      "unknown": {
        "cc": "03815e9bcxxxxx"
      }

This of course makes it incompatible with any other software out there and the PSBT can only be signed by another instance of chantools, which makes it hard to use in some cases.
The goal is to produce a standardized PSBT with the appropriate fields set for a multisig signing session. Then node operators could also use lncli wallet signpsbt instead of chantools zombierecovery signoffer.

Steps to complete:

  • Add master root key fingerprint to match file.
  • Add derivation path and indexes to match file.
  • After matching the keys, put the full derivation path and expected public key of both signers into the generated PSBT.
  • Add integration test for signing with lnd's SignPsbt RPC.
  • Update the docs to mention the alternative signing path (and the exact commands to use).

Metadata

Metadata

Assignees

No one assigned

    Labels

    freebieSelf-contained quick-win; anyone on the team can pick this up without extensive context.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions