Skip to content

[Task]: Add UTXO consolidation for Ledger profiles #2540

Open
@cvarley100

Description

@cvarley100

Task description

UTXO consolidation happens automatically on software profiles, however Ledger profiles do not have this option. Wallet-rs can emit an event when consolidation is needed on Ledger. We can utilise this to create a simple manual flow for Ledger fund consolidation (in which the user needs to manually sign each consolidation on the Ledger device).

Bear in mind the max number of UTXOs for a Ledger Nano S is ~15 and Ledger Nano X is more (check with @shufps) so the consolidation function should be triggered when you surpass the max (ideally depending on which device is connected).

Requirements

Acceptance criteria

  • A user is prompted to consolidate their funds when they have surpassed the max number of UTXOs their device can handle in one message.
  • The UX matches the same process for software profiles
  • The activity log indicates that a consolidation has occurred

Creation checklist

  • I have assigned this task to the correct people
  • I have added the most appropriate labels
  • I have linked the correct milestone and/or project

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    📋 Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions