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

Boltz integration #109

Merged
merged 21 commits into from Jan 13, 2020
Merged

Boltz integration #109

merged 21 commits into from Jan 13, 2020

Conversation

roeierez
Copy link
Member

This PR implements trustless reverse swap from lightning to on-chain using boltz service.
The process is as follows:

  1. User initiate a swap using boltz service.
  2. User pay hold invoice.
  3. boltz send on-chain amount to the user specified address.
    4 On confirmation user claims the funds using his secret.
  4. Boltz takes that public secret and settle the invoice.

roeierez and others added 20 commits January 5, 2020 11:19
Too late meaning that Timeout BlockHeight <= Current BlockHeight
The benefit is to subscribe claim transaction beginning from the block
we claimed the first time.
…tegration

* commit '9ca0ed5a83236794312205e89a4d6895adfab290':
  Shorter error text when known error type
…tegration

* commit '6e46c3a2110a071c5b51314a5910534dba666f3e':
  Update boltz library dependancy
…tegration

* commit 'aedf95f696d5d759c999daddc5ea7a31ed9a21f5':
  Update boltz library dependency

# Conflicts:
#	cmd/go.sum
#	go.mod
#	go.sum
@roeierez roeierez merged commit 804e311 into master Jan 13, 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

Successfully merging this pull request may close these issues.

None yet

2 participants