Explore: Auto-forward DCA distributions to external wallet #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Explore options for automatically forwarding DCA distributions from a user's LNbits wallet to their external wallet (e.g., Phoenix, Zeus, hardware wallet via LN address).
Context
Currently, DCA distributions land in the user's LNbits wallet. Some users may prefer automatic forwarding to:
Questions to Explore
Where should this be configured?
Implementation approaches:
splitpaymentsextension pattern (100% to 1 target)Failure handling (CRITICAL):
Reference: splitpayments Extension
The
splitpaymentsextension splits incoming payments across multiple targets. We'd adapt this pattern for:Potential Scope Options
Option A: LNbits-level (outside satmachine)
Configure forwarding at the LNbits wallet level - applies to ALL incoming payments, not just DCA.
Pros: Simple, reusable, not DCA-specific
Cons: User might not want all payments forwarded
Option B: satmachineclient setting
User configures forwarding destination in their DCA client settings.
Pros: DCA-specific, user controls per-extension
Cons: More complexity in satmachineclient
Option C: Hybrid
satmachineclient has "enable auto-forward" toggle, actual forwarding handled by LNbits mechanism (webhook, extension, or core feature).
Acceptance Criteria (for eventual implementation)
Notes
This is an exploratory issue. Implementation may span multiple repos (satmachineclient, LNbits core, or new extension).