v0.2.0
Major changes to internal workings of the library. Can now control amounts independently from Satoshis, should be the base work required to easily add SLP tokens in the near future.
BadgerBase
- OP_RETURN support
- Enabling crypto pricing. Can enter an absolute amount of BCH, not just fiat conversions
- use props
tickerandamountto price in BCH.- example:
<BadgerButton ticker='BCH' amount={0.00000550} to=...
- example:
- use props
- New props
watchAddress- Confirm if payment comes from any source or anyoneisRepeatable- Rest the button tofreshstate after a brief periodrepeatTimeout- Number of milliseconds to reset button tofreshafter a repeatable paymentticker- Crypto to price in, currently only supports BCHamount- Amount of given ticker for payment
BadgerButton
- Rename prop
border=>showBorder - Enable BCH only payments
BadgerBadge
- Adding QR Code and Payment URI
- prop
showQRdefaulttrue - Uses
ButtonQRinstead ofButton
- prop
- watch payments to address as well as QR
- Handles BCH only payments
- New props
showBordershowQR
ButtonQR
- Allow people to pay who don't have Badger installed. Now Badger handles all the payment methods with ease.
- New component to show a QR code as a URI link, along with button