Replace lightning toolkit with wallet adapter

This commit is contained in:
2026-02-17 19:54:16 +00:00
parent 6e865fef06
commit ce62cafd59
33 changed files with 1364 additions and 120 deletions
+16
View File
@@ -0,0 +1,16 @@
export type WalletPayInvoiceParams = {
invoice: string
msats?: number
}
export type WalletCreateInvoiceParams = {
sats: number
description?: string
}
export interface IWallet {
getBalanceSats: () => Promise<number>
payInvoice: (params: WalletPayInvoiceParams) => Promise<unknown>
createInvoice: (params: WalletCreateInvoiceParams) => Promise<string>
close: () => void
}