GithubHelp home page GithubHelp logo

radiokot / ln-addr-to-invoice Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 3.0 1.25 MB

⚡ An Android app that allows paying to email-like Bitcoin Lightning addresses from unsupported wallets by turning them to convenient invoices

Home Page: https://radiokot.com.ua/p/ln-addr-to-invoice

License: GNU General Public License v3.0

Kotlin 69.92% HTML 30.08%
bitcoin lightning muun nostr android kotlin lightning-network

ln-addr-to-invoice's Introduction

Icon LN Address to Invoice

Some popular Bitcoin Lightning wallets, like Muun or Blue Wallet, don't support email-like Lightning addresses. This app allows paying to such addresses by turning them to convenient invoices. For me, it is helpful when zapping and tipping in Nostr.

How to use

To use the app, click on the Lightning address link (like tip or zap in Nostr) and select "LN Address to Invoice" app. Follow the instructions and then pay the invoice with your favorite wallet.

Demo video (YouTube)

The app doesn't add any extra fee to your payment.

Download

APK APK from the latest release

F-Droid F-Droid

Google Play Google Play

License

I reject the concept of intellectual property. Claiming ownership over information that can be replicated perfectly and endlessly is inherently flawed. Consequently, any efforts to uphold such form of ownership inevitably result in some people gaining unjustifiable control over other's tangible resources, such as computers, printing equipment, construction materials, etc. 1 When talking specifically about source code licensing – without a state violently enforcing copyright monopolies, it would be ludicrous to assume that a mere text file in a directory enables someone to restrict processing copies of this information by others on their very own computers. However, there is such a file in this repository bearing the GPLv3 license. Why?

One would expect someone with such an attitude to not use the license at all, use a permissive license, or explicitly unlicense. But for me, to do so is to voluntarily limit my means of defense. To act as a gentleman with those who readily exploit state violence against you is to lose. In a world where copyright monopolies are violently enforced, I choose GPLv3 for the software I really care for, because under the current circumstances this license is a tool that:

  • Allows others to freely use, modify and distribute this software, without the risk of being sued;
  • Enables me to pull all the valuable changes from public forks back to the trunk, also without the risk of being sued;
  • Knocks down a peg individuals or companies willing to monopolize their use case or modifications of this software.

Tech stack

  • Kotlin
  • RxJava
  • Koin dependency injection
  • ViewModel
  • kotlin-logging with slf4j-handroid

Send me a tip

lightning:oleg@radiokot.com.ua

🟣 Follow me on Nostr: npub12358n500vfnf9j522nueg05k9yvhh97936smfgat6mledzegp5yskzrjdj

ln-addr-to-invoice's People

Contributors

radiokot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

22388o msgpo eizan97

ln-addr-to-invoice's Issues

F-Droid can't build

https://monitor.f-droid.org/builds/log/ua.com.radiokot.lnaddr2invoice/6#site-footer

so I edit the recipe

  - versionName: 1.3.0
    versionCode: 6
    commit: d57e52ed1ef83cbfe9065aa8c9fb072452bf1494
    subdir: app
    gradle:
      - yes
    srclibs:
      - [email protected]
    postbuild: $$reproducible-apk-tools$$/inplace-fix.py --zipalign fix-newlines $$OUT$$
      'META-INF/services/*' 'assets/app.properties' 'assets/open_source_licenses.html'

but

==== detail begin ====
verification of APK with copied signature failed
Comparing reference APK to APK with copied signature...
Unexpected diff output:
diff -r /tmp/tmpkcli_g2w/unsigned_binaries_ua.com.radiokot.lnaddr2invoice_6.binary/content/assets/open_source_licenses.html /tmp/tmpkcli_g2w/_tmp_tmpkcli_g2w_sigcp_ua.com.radiokot.lnaddr2invoice_6/content/assets/open_source_licenses.html
3c3
<     <style>body { font-size: 75%; font-size: 75%; font-size: 75%; font-size: 75%; font-size: 75%; font-family: sans-serif } pre { background-color: #eeeeee; padding: 1em; white-space: pre-wrap; display: inline-block }</style>
---
>     <style>body { font-size: 75%; font-size: 75%; font-size: 75%; font-size: 75%; font-size: 75%; font-size: 75%; font-size: 75%; font-size: 75%; font-family: sans-serif } pre { background-color: #eeeeee; padding: 1em; white-space: pre-wrap; display: inline-block }</style>
==== detail end ====

/LE: fyi https://gitlab.com/fdroid/fdroiddata/-/commit/aae0f24f133e1d845d740c068b735903a104f30c

[ISSUE] Failed to load username info. The link must contain and email like address

Hi. I installed your app then clicked on the lightning icon "zap" on Nostr. After 2 seconds of clicking the lighting bolt I get this message pop-up at the bottom of the screen.

"Failed to load username info. The link must contain and email like address"

If I go on someone's profile and and click on the lightning address I get this message pop:

"The link must contain and email like address"

I've tried many profiles and same tiny pop-up.

Nostr: v0.89.7 fdroid
Phone OS: LineageOS

Screenshot_20240731-073840_Gallery

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.