Skip to content

Feature request: Add maximum fee sat/vbyte option for Lightning to On-Chain balance conversion #149

@jurjendevries

Description

@jurjendevries

Currently, coinos allows users to automatically convert their Lightning balance to on-chain when a certain threshold is reached. However, there is no option to set a maximum fee in sat/vbyte for this conversion. This can lead to unexpectedly high fees during times of network congestion, which is not ideal for users who want to control their costs.

Proposed Solution
Add an optional maximum fee field (in sat/vbyte) to the Autowithdrawal settings. This way, users can specify the highest fee they are willing to pay for the conversion. If the current network fees exceed this maximum, the conversion can be delayed until fees are within the user's specified limit. Optionally the user can receive a notification.

Example Use Case
A user sets a threshold of 1000000 sats for Autowithdrawal threshold and a maximum fee of 10 sat/vbyte. If the network fees exceed 10 sat/vbyte when the threshold is reached, the conversion will not proceed until fees are below this limit.
When the notification for this is on, the user will receive a notification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions