To try avoid a rewrite in the future we need to make sure our architecture supports multiple wallets and our API surface is simple and easy to understand.
Consilidate APIs to fetch different types of balance (Not just in the HTTP API, but in the lnclient?)
Confirm if the architecture supports two wallets simultaneously e.g. (LDK + Cashu)
app connections would be linked to a wallet
interactions between wallets
lnclient interface will not work for ecash and liquid
lnclient interface is already problematic for different types of nodes (channel management vs no channel management)
transaction list showing from liquid/ecash/onchain/lightning
To try avoid a rewrite in the future we need to make sure our architecture supports multiple wallets and our API surface is simple and easy to understand.