Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send "stable" amount based on fiat currency #44

Open
rolznz opened this issue May 11, 2023 · 7 comments
Open

Send "stable" amount based on fiat currency #44

rolznz opened this issue May 11, 2023 · 7 comments

Comments

@rolznz
Copy link
Contributor

rolznz commented May 11, 2023

Some people want to send an amount in fiat. If they choose a fiat currency we can do the conversion for each payment. Related to #35

@hvoecking
Copy link
Contributor

I would also be interested in this feature. I'd even attempt an implementation, but I have no experience in this project yet, so no idea how ambitious my approach would be, but if I have some time I'll look into it

@rolznz
Copy link
Contributor Author

rolznz commented Jan 3, 2025

@hvoecking this is difficult because ZapPlanner is designed to work with a budgeted NWC connection. Currently there is no implementation that supports fiat budgeting, which could cause connection to have more (giving ZapPlanner access to more funds than necessary) or less (inability to make the payment).

In order to do this I think either:

  • The user accepts to give a larger budget in sats (e.g. 50%) to allow for short-term price volatility - but maybe this is ok.
  • NWC budgets support fiat amounts e.g. in Alby Hub. I doubt this will be implemented though as it seems to increase complexity a lot. CC @bumi

@matjaz
Copy link

matjaz commented Jan 15, 2025

I think first option is enough.

@matjaz
Copy link

matjaz commented Jan 17, 2025

More important is to get notified of a failed schedule and retry mechanism.

@rolznz
Copy link
Contributor Author

rolznz commented Jan 17, 2025

@matjaz you will get automated emails from Alby Hub as long as you connect your Alby Account, so that should be ok!

@rolznz
Copy link
Contributor Author

rolznz commented Jan 17, 2025

Regarding retries: I think if ZapPlanner fails, it will wait a month before it retries (or however long the normal payment interval is). 🙈

If it fails 3 times, it will stop retrying.

@matjaz
Copy link

matjaz commented Jan 17, 2025

Connection/friend should receive an notification/email, not node owner.
Maybe add email to friends and family connection.

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

No branches or pull requests

3 participants