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

Add Payment Channel Example for Stellar #21

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Conversation

tinnendo
Copy link
Contributor

@tinnendo tinnendo commented Sep 17, 2024

Description:

This PR introduces a new example demonstrating how to set up a payment channel using the Perun Stellar backend. It also includes a fix for the funding logic in HandleProposal to allow both the client and peer to fund the channel. This allows users to easily alter the balances of channel participants in the example code.

Changes:

Added a working example for setting up, funding, updating and closing a multi asset payment channel on Stellar.
Fixed the funding validation to ensure neither the client nor peer has zero funding.
Added the Stellar example to the CI.
Upgraded go version to 1.22 in CI.

@tinnendo tinnendo requested a review from iljabvh September 17, 2024 10:31
@tinnendo tinnendo force-pushed the add-stellar-example branch 3 times, most recently from 9f6dc68 to 48c2358 Compare September 18, 2024 07:14
Signed-off-by: Hendrik Amler <hendrik@perun.network>
@tinnendo tinnendo merged commit 91e65f9 into master Sep 18, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants