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

Handle LNURL's #38

Merged
merged 7 commits into from
Jul 12, 2024
Merged

Handle LNURL's #38

merged 7 commits into from
Jul 12, 2024

Conversation

erdemyerebasmaz
Copy link
Collaborator

@erdemyerebasmaz erdemyerebasmaz commented Jul 1, 2024

This PR addresses
#30

LNURL-Pay, LNURL-Withdraw, LNURL-Auth are now handled on l-breez app.

Other changelist:

  • Wait for input to be parsed, parseInput API is no longer a sync function
  • Removed nodeID from valid input type list when pasted
  • Fix title of destination pubkey on payment details dialog

Copy link
Contributor

@dangeross dangeross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it looks good.

Perhaps we need to use the newly added fetchLightningLimits() function to check the selected pay/withdraw amounts are within the send/receive swap limits. Or maybe combine the min/max sendable/withdrawable with the swap limits to get unified limits

@erdemyerebasmaz erdemyerebasmaz force-pushed the handle_lnurls branch 2 times, most recently from e1d4c0b to f25afa2 Compare July 12, 2024 10:20
@erdemyerebasmaz
Copy link
Collaborator Author

Or maybe combine the min/max sendable/withdrawable with the swap limits to get unified limits

Applied this on LnUrl payments, limits on withdraw flow will be applied on new UI due to an incompatibility.

Copy link
Contributor

@dangeross dangeross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@erdemyerebasmaz erdemyerebasmaz merged commit a79f575 into main Jul 12, 2024
1 check passed
@erdemyerebasmaz erdemyerebasmaz deleted the handle_lnurls branch July 12, 2024 15:39
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.

Handle LNURL's
3 participants