Skip to content

Feat: Add expiration times to vouchers - #76

Merged
talvasconcelos merged 8 commits into
mainfrom
feat/add_expiration_time
Jul 24, 2026
Merged

Feat: Add expiration times to vouchers#76
talvasconcelos merged 8 commits into
mainfrom
feat/add_expiration_time

Conversation

@talvasconcelos

@talvasconcelos talvasconcelos commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Adds a relative expiration time (in days, weeks, months) to LNURLw.

image

Expiration is relative to the created_at timestamp

Vouchers:
image

Closes #15

@talvasconcelos
talvasconcelos force-pushed the feat/add_expiration_time branch from 8f36b85 to 7b63447 Compare June 30, 2026 10:13
@talvasconcelos

Copy link
Copy Markdown
Collaborator Author

Need to add the expiration to the voucher printable html

@talvasconcelos
talvasconcelos requested review from arcbtc, blackcoffeexbt, dni and motorina0 and removed request for arcbtc, blackcoffeexbt, dni and motorina0 July 1, 2026 08:33
Comment thread models.py Outdated

@dni dni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just change the db and models, to expiry_seconds

@talvasconcelos
talvasconcelos merged commit 475d370 into main Jul 24, 2026
6 checks passed
@talvasconcelos
talvasconcelos deleted the feat/add_expiration_time branch July 24, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redemption Periods for LNURL-Withdraw

2 participants