lnbits / boltcards

Bolt Cards (NXP NTAG424) - LNbits extension
MIT License
14 stars 10 forks source link

Adding 3 new features to extension #29

Open leesalminen opened 6 months ago

leesalminen commented 6 months ago

This PR adds 3 new features to Boltcards extension:

  1. Card expiration date - you can now set a YYYY-MM-DD expiration date for a card and it will not allow withdrawals after that date.
  2. Monthly spend limit - you can now set a monthly spend limit for a card and it will not allow withdrawals above that amount in a given calendar month
  3. Limit type - you can now choose to track daily & monthly limits in fiat. This leverages the fiat tracking functionality in core and must be enabled to function properly.

Can use/try this update from Bitcoin Jungle's lnbits extensions repo: https://raw.githubusercontent.com/Bitcoin-Jungle/lnbits-extensions/main/extensions.json

leesalminen commented 1 month ago

Hey - just checking in on this. Are you open to accepting this PR?

arbadacarbaYK commented 1 month ago

tested the version on the bitcoin jungle instance, works perfect. @dni