event icon indicating copy to clipboard operation
event copied to clipboard

feat: Quick pay for Lightning invoices

Open cherry-1729-9090 opened this issue 4 months ago • 1 comments

Description

Relates to issue: ZEUS-#1633

This PR implements a clipboard-based quick pay system for Lightning invoices. When users copy Lightning invoices from external apps and when clicked on the clipboard Icon in the Wallet in the header, ZEUS automatically pay when specific conditions(Quick pay configuration) are met

User Workflow

  1. Setup: Configure Quick pay in Settings → Payments and enable Read clipboard in Settings → Privacy Settings
  2. Usage: Copy any Lightning invoice from external apps (Twitter, Telegram, etc.)
  3. Automatic: Open ZEUS and click on clipboard icon beside the profile icon in the header
  4. Payment: Payment gets processed if within the limits set

Demo video

https://drive.google.com/file/d/12hiWgmbxZKQuyuVOO7FWsaslBf2q4cy3/view?usp=sharing

This pull request is categorized as a:

  • [x] New feature
  • [ ] Bug fix
  • [ ] Code refactor
  • [ ] Configuration change
  • [ ] Locales update
  • [ ] Quality assurance
  • [ ] Other

Checklist

  • [x] I’ve run yarn run tsc and made sure my code compiles correctly
  • [x] I’ve run yarn run lint and made sure my code didn’t contain any problematic patterns
  • [x] I’ve run yarn run prettier and made sure my code is formatted correctly
  • [x] I’ve run yarn run test and made sure all of the tests pass

Testing

If you modified or added a utility file, did you add new unit tests?

  • [ ] No, I’m a fool
  • [ ] Yes
  • [x] N/A

I have tested this PR on the following platforms (please specify OS version and phone model/VM):

  • [x] Android
  • [ ] iOS

I have tested this PR with the following types of nodes (please specify node version and API version where appropriate):

  • [ ] Embedded LND
  • [x] LND (REST)
  • [ ] LND (Lightning Node Connect)
  • [ ] Core Lightning (CLNRest)
  • [ ] Nostr Wallet Connect
  • [ ] LndHub

Locales

  • [ ] I’ve added new locale text that requires translations
  • [ ] I’m aware that new translations should be made on the ZEUS Transfix page and not directly to this repo

Third Party Dependencies and Packages

  • [ ] Contributors will need to run yarn after this PR is merged in
  • [ ] 3rd party dependencies have been modified:
    • verify that package.json and yarn.lock have been properly updated
    • verify that dependencies are installed for both iOS and Android platforms

Other:

  • [ ] Changes were made that require an update to the README
  • [ ] Changes were made that require an update to onboarding

cherry-1729-9090 avatar Aug 13 '25 06:08 cherry-1729-9090

@gemini-code-assist review

kaloudis avatar Dec 11 '25 16:12 kaloudis