Skip to content

Add example for sending specific amount of BCH #179

@christroutner

Description

@christroutner

There is currently no example for sending a specified amount of BCH. Such an example would combine UTXOs into a transaction until a target amount of BCH is reached. The remainder/change would then be sent back to the wallet.

This example in the simple-bitcoin-wallet apparently does this:
https://github.com/honest-cash/simple-bitcoin-wallet/blob/master/src/lib/distributeFunds.ts

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