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:
padreug 2025-09-14 23:08:01 +02:00
parent c74945874c
commit f75aae6be6
12 changed files with 1294 additions and 3 deletions

View file

@ -64,6 +64,18 @@ export const appConfig: AppConfig = {
ticketValidationEndpoint: '/api/tickets/validate',
maxTicketsPerUser: 10
}
},
wallet: {
name: 'wallet',
enabled: true,
lazy: false,
config: {
defaultReceiveAmount: 1000, // 1000 sats
maxReceiveAmount: 1000000, // 1M sats
apiConfig: {
baseUrl: import.meta.env.VITE_LNBITS_BASE_URL || 'http://localhost:5000'
}
}
}
},