Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

wire: refactor message types to use @node-lightning/bitcoin types #183

@bmancini55

Description

@bmancini55

The wire project existed prior to the @node-lightning/bitcoin project. As a result, many of the wire messages use primitive types (Buffer or BigInt) to represent script or bitcoin values.

This task is to include the @node-lightning/bitcoin project in @node-lightning/wire. Then refactor the classes to use the Value and Script types instead of BigInt and Buffer.

This will impact open_channel, accept_channel, shutdown, and closing_signed message types. Tests should be updated accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions