cashubtc / npubcash-server

MIT License
34 stars 4 forks source link

Added strategy pattern for payment providers #3

Closed Egge21M closed 8 months ago

Egge21M commented 8 months ago

This allows us to add different payment providers along the go, without having to touch business logic. Simply add the Provider Class as module and switch out the Provider Instance in index.ts