Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow different amounts when opening a channels #43

Open
D4nte opened this issue Aug 24, 2020 · 0 comments
Open

Allow different amounts when opening a channels #43

D4nte opened this issue Aug 24, 2020 · 0 comments
Assignees

Comments

@D4nte
Copy link
Contributor

D4nte commented Aug 24, 2020

Currently Alice and Bob can only commit the same amount into the channel.

We should provide an API to allow different amounts to be committed to allow more flexibility on the usage of the library.

As an extension, we should also allow making a payment as part of opening a channel, e.g.:

  • Alice uses a 1BTC utxo
  • Bob uses a 0.5 BTC utxo
  • Alice pays bob 0.1BTC
  • The channel balance once created is: Alice 0.9BTC, Bob 0.6BTC

This should be done by allowing custom outputs in the split transactions.

@D4nte D4nte self-assigned this Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant