Feature: Create invoices in fiat currency (EUR, USD, etc.) #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Allow users to create Lightning invoices by specifying an amount in fiat currency (e.g., EUR, USD). The app converts the fiat amount to satoshis using real-time exchange rates from the server's configured fiat providers.
User Story
As a merchant or user, I want to create an invoice for a specific fiat amount (e.g., "5 EUR") so that I can easily charge customers in their local currency while receiving Bitcoin.
Requirements
Invoice Creation
Currency Support
user.fiat_providers)UI/UX
Technical Considerations
LNbits API
LNbits has built-in fiat conversion support:
fiat_providersarrayFiles to Modify
src/modules/wallet/components/ReceiveDialog.vue- Add currency selectorsrc/modules/wallet/services/WalletService.ts- Add fiat conversion logicData Flow
Open Questions