Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Add a model-skeleton for the HALight protocol #1954

Closed
thomaseizinger opened this issue Jan 29, 2020 · 2 comments
Closed

Add a model-skeleton for the HALight protocol #1954

thomaseizinger opened this issue Jan 29, 2020 · 2 comments

Comments

@thomaseizinger
Copy link
Contributor

thomaseizinger commented Jan 29, 2020

Problem

In order to execute Lightning swaps, our software needs to model the protocol that is described in the according spike: https://github.com/comit-network/spikes/blob/lnd-plan-of-attack/0022-lnd-plan-of-attack.adoc

Goal

Define a skeleton around the core concepts of the protocol:

  • Ledger states
  • Events
  • Lightning ledger

Recommendation

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.

@github-actions
Copy link

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

@D4nte
Copy link
Contributor

D4nte commented Apr 7, 2020

Done as part of #2297.

@D4nte D4nte closed this as completed Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants