handshake-org / handshake-org/hsd

Wallet: Add option `lock` to tx creation methods.

Open
#847 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.1k
Forks
306
PR merge metrics
No merged PRs in 30d

Description

If transaction is not broadcast, coins wont get locked. Which can lead to the situation where next tx creation may also reuse those coins. Ability to lock used coins before they are inserted into txdb is useful for automation using external signing tools. (e.g. ledger)

#845

Contributor guide

Open the contributing guide

Research direction

Start with the wallet transaction creation methods and the related issue #845, then trace how selected coins are handled before insertion into txdb. Done means an optional lock setting can lock used coins before txdb insertion when transactions are not broadcast, with coverage for external-signing automation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
blockchain
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.