block-core / angor-hub

Angor Hub is a Nostr client that is customized around the Angor protocol, a decentralized crowdfunding platform.
https://hub.angor.io
MIT License
2 stars 2 forks source link

Support for Zaps #32

Open miladsoft opened 2 weeks ago

miladsoft commented 2 weeks ago

Integrate support for Zaps, allowing users to interact with content using the Lightning Network.

miladsoft commented 1 week ago

The integration of Zaps has been successfully completed. Users can now seamlessly send and receive Zaps using the Lightning Network, enabling more interactive and decentralized financial transactions within the application. The following features were added:

  1. Send Zap Dialog: Users can now generate a Lightning invoice to send payments (Zaps) by specifying an amount. The invoice is displayed via QR code for easy scanning, or it can be copied directly for sharing.

  2. Receive Zap Dialog: Users can generate and share invoices to receive payments via the Lightning Network. The dialog allows setting a specific amount and displaying a QR code for easy scanning.

  3. Improved Error Handling: Both dialogs provide informative feedback to the users, ensuring smooth interactions even when errors occur during payment processes.

With this feature, users can interact with content by sending and receiving Zaps directly within the application, leveraging the power of the Lightning Network.

Status: The issue is now resolved, and the feature is fully integrated and functional.