cashubtc / eNuts

A Cashu wallet for Android and iOS 🥜🐿️
https://enuts.cash
GNU General Public License v3.0
190 stars 25 forks source link

Added support for Lnurl-Pay through copy/paste and QR code scan #323

Closed starbackr-dev closed 8 months ago

starbackr-dev commented 8 months ago

[x] Added bech32-encoded lnurl utils file [x] Detect encoded lnurl in QR code [x] No new package added other than bech32 [x] Detect lnurl in input field [x] Handle decoded lnurl-pay, lightning address [x] use camera to scan and decode lnurl-pay and lightning address [x] No Update to UI

See #248

codecov-commenter commented 8 months ago

Codecov Report

Attention: Patch coverage is 18.66667% with 61 lines in your changes are missing coverage. Please review.

Project coverage is 13.36%. Comparing base (6a7deb8) to head (79277b2).

Files Patch % Lines
src/util/index.ts 22.58% 35 Missing and 13 partials :warning:
src/screens/QRScan/index.tsx 0.00% 9 Missing :warning:
src/screens/Payment/Send/Inputfield.tsx 0.00% 2 Missing :warning:
src/screens/Payment/Processing.tsx 0.00% 1 Missing :warning:
src/screens/Payment/Send/CoinSelection.tsx 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #323 +/- ## ========================================== + Coverage 13.29% 13.36% +0.07% ========================================== Files 164 164 Lines 6153 6209 +56 Branches 1687 1705 +18 ========================================== + Hits 818 830 +12 - Misses 5188 5220 +32 - Partials 147 159 +12 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.