Useful for clients wanting to intergrate non-custodal wallet features.
> Intended for use with bitcoin, but could be used with any invoice payment system that can pay invoices/create invoices/check payment status.
## Motivation
We wanted LNbits to have a funding source that pay invoices/create invoices/check payment status, all over nostr DMs. Simple plugins/middleware coud be made for lightning nodes that connect to the funding source.
## Examples
There are two simple clients sending json over [NIP04](https://github.com/nostr-protocol/nips/blob/master/04.md).
1.`funding source client`: Attached to the funding source, the other built into another service/client.