Skip to content

Partially stable channels #2

@ajtowns

Description

@ajtowns

Hi! This is neat!

Have you considered allowing for partially stable channels? That is, rather than "The channel balance is 1 BTC, SR has $10000, SP has 1BTC - $10000" as your target, allow it to generalise to also support: "SR has 0.5 BTC plus $10000, SP has 1 BTC minus $10000" ?

That way you could allow a peer to manage their BTC exposure "My current balance is 0.5 BTC plus $10000 (actually 0.6963 BTC), but I'd like to buy $500 worth of BTC, so please change that to be 0.5098 BTC and $9500 (which is still 0.6963 BTC)".

The nice thing about stable channels (from the SR's point of view) is that all your channel transactions (incoming and outgoing payments) can be denominated in fiat currency until the channel is closed, which means you don't need to analyse every transaction for capital gains tax etc: if you receive a 0.01BTC payment, that really does act as a $509.46 payment, the channel balance in BTC just serving as immediately accessible collateral.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions