Commit graph

6 commits

Author SHA1 Message Date
8c5f78c50f fix: correct LNBits newFunding return format for funding page
Updates the newFunding function to return the expected interface:
- fundingPendingBalance: BN(0) for Lightning Network
- fundingConfirmedBalance: actual wallet balance as BN object
- fundingAddress: bolt11 invoice for funding

This fixes the TypeError "Cannot read properties of undefined (reading
'minus')"
that occurred when accessing the funding page in the admin UI.
2025-12-31 19:05:01 +01:00
c96df3af1e fix: update LNBits payment request handling
- Changed the response handling in the newAddress function to return the bolt11 invoice instead of the payment request.
- Updated error message to reflect the change in response structure from LNBits.
2025-12-31 19:05:01 +01:00
69d461c5e7 feat: implement LNURL payment handling in LNBits plugin
- Added a new function to handle LNURL payments, allowing users to send payments via LNURL addresses.
- Integrated LNURL payment processing into the existing sendCoins function, enhancing the wallet's capabilities for Lightning Network transactions.
2025-12-31 19:05:01 +01:00
eb3f1cf030 feat: add LNBits wallet plugin integration
- Introduced LNBits as a Lightning Network wallet provider for Lamassu ATMs.
- Added configuration options for LNBits in the environment variables.
- Implemented core functionalities including invoice creation, payment processing, balance monitoring, and payment status tracking.
- Created unit tests for the LNBits plugin to ensure functionality and error handling.
- Updated development environment setup to include LNBits configuration.
2025-12-31 19:05:01 +01:00
Rafael Taranto
38100a523e chore: better logs on sweep errors 2025-12-31 19:05:01 +01:00
e2c49ea43c v12.0.0 - initial commit 2025-12-31 19:04:13 +01:00