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 a model-skeleton for the HALight protocol #1954

thomaseizinger opened this issue Jan 29, 2020 · 1 comment

Add a model-skeleton for the HALight protocol #1954

thomaseizinger opened this issue Jan 29, 2020 · 1 comment


Copy link

@thomaseizinger thomaseizinger commented Jan 29, 2020


In order to execute Lightning swaps, our software needs to model the protocol that is described in the according spike:


Define a skeleton around the core concepts of the protocol:

  • Ledger states
  • Events
  • Lightning ledger


Inspire yourself from the existing protocols: HAN and HErc20.
This is only about implementing a skeleton, hence having unimplemented!() in several places is totally fine!

Implementing the event traits (analogous to HtlcDeployed for HErc20 for example) of HALight, will uncover, what the API of a future LN connector is.
It is within the scope of this ticket to define a stubbed LndConnector that already has the API needed for our event traits.


This comment has been minimized.

Copy link

@github-actions github-actions bot commented Mar 25, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.