stacks-archive / stacks-transactions-js

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

Support for unsigned transactions #112

Closed kyranjamie closed 3 years ago

kyranjamie commented 3 years ago

Hardware wallets, such as Ledger devices, sign transactions while keeping the private key on the device. To support these, we need a way to create unsigned transaction, and later, pass a signature to it.

Consider the Stacks Ledger app, by @zondax, which accepts a serialised transaction, and returns a signature.

Eventually we'll need this for all transaction types, but starting with stx transactions, this requires modifying/extending the makeSTXTokenTransfer function.

yknl commented 3 years ago

Implemented in https://github.com/blockstack/stacks-transactions-js/pull/109