-
Notifications
You must be signed in to change notification settings - Fork 1
LNURL Pay and Lightning Address #250
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
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
8419738
fix: pass lnurl address to createLnurlInvoice
ovitrif 916e31b
fix: number pad action buttons style and text
ovitrif cc3e70b
chore: update bitkit-core and remove withdraw url manual fix
ovitrif 85c982f
refactor: unify sat to btc conversion
ovitrif 454218d
feat: support override in NumberPadTextField
ovitrif bee5a9a
fix: keyboard clickable area
ovitrif f4a24e9
feat: keyboard key press ui and haptics
ovitrif 785da16
refactor: rename to LnurlService
ovitrif 32d5ed9
feat: fetchLnurlInvoice method
ovitrif 2343d69
feat: ext for totalNextOutboundHtlcLimitSats
ovitrif 61439aa
feat: balance maxSendLightningSats
ovitrif 5737ac9
feat: minLines for TextInput
ovitrif ec75de9
feat: lnurlPay bech32 support via refactor
ovitrif f986a03
feat: lnurlPay amount screen
ovitrif 9c51280
feat: lnurlPay confirm screen
ovitrif 90e9867
feat: gradient bg and safe areas on sendAndReview
ovitrif 15363e7
feat: QuickPay for LNURL Pay
ovitrif f83659e
chore: remove unused Scanner.LnurlAddress handling
ovitrif bf01fbf
Merge branch 'master' into feat/lnurl-pay
ovitrif 4042fa2
feat: warn on channel open error
ovitrif 39d8f01
feat: update ldk-node and impl bolt11 payment description
ovitrif daf4c0e
fix: screen ui when keyboard is open
ovitrif d94c688
fix: only clear clipboard after send if autoRead is on
ovitrif 96bd52d
fix: lnurl pay fixed amount
ovitrif 53a67f1
chore: unify logs with bolt11 send
ovitrif 4a9f5cd
fix: set amount to minSendable
ovitrif f272332
fix: send bolt11 quickpay
ovitrif 1330bf3
Merge branch 'refs/heads/master' into feat/lnurl-pay
ovitrif 9b17ef8
chore: disable IDE reformat always adding trailing comma at call site
ovitrif 0dacdbe
chore: cleanup
ovitrif 8698acb
chore: extract LnurlCommentSection
ovitrif File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| package to.bitkit.ext | ||
|
|
||
| import com.synonym.bitkitcore.LnurlPayData | ||
| import com.synonym.bitkitcore.LnurlWithdrawData | ||
|
|
||
| fun LnurlPayData.commentAllowed(): Boolean = commentAllowed?.let { it > 0u } == true | ||
| fun LnurlPayData.maxSendableSat(): ULong = maxSendable / 1000u | ||
| fun LnurlPayData.minSendableSat(): ULong = minSendable / 1000u | ||
|
|
||
| fun LnurlWithdrawData.maxWithdrawableSat(): ULong = maxWithdrawable / 1000u |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.