Add wallet module with receive and send functionality
- Introduced a new wallet module that includes components for sending and receiving Bitcoin payments. - Implemented WalletService to manage payment links and transactions, including methods for creating LNURL pay links and sending payments. - Added dialogs for receiving and sending payments, enhancing user interaction with the wallet. - Updated app configuration to enable the wallet module and integrated it into the main application flow. These changes provide users with a comprehensive wallet experience, allowing for seamless Bitcoin transactions.
This commit is contained in:
parent
c74945874c
commit
f75aae6be6
12 changed files with 1294 additions and 3 deletions
|
|
@ -100,6 +100,14 @@ export class PaymentService extends BaseService {
|
|||
return wallet?.adminkey || null
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the preferred wallet's invoice key for read-only operations
|
||||
*/
|
||||
getPreferredWalletInvoiceKey(): string | null {
|
||||
const wallet = this.getPreferredWallet()
|
||||
return wallet?.inkey || null
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate QR code for Lightning payment request
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue