stacks-archive / stacks-transactions-js

The JavaScript library for generating Stacks 2.0 transactions
19 stars 17 forks source link

Add a `addSignature` method to unsigned StacksTransactions #121

Closed kyranjamie closed 3 years ago

kyranjamie commented 3 years ago

Feature request

A method needs to be present on the StacksTransaction class that allows a signature to be passed to an unsigned transaction.

Consider working with a Ledger device, such as with the stacks wallet: First you create an unsigned transaction with the desired recipient, amount of stx etc. You serialise it and pass it to the Ledger, which returns a signature.