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

Link Expiration functionality #123

Open
armanmamyan opened this issue Apr 8, 2024 · 1 comment
Open

Link Expiration functionality #123

armanmamyan opened this issue Apr 8, 2024 · 1 comment

Comments

@armanmamyan
Copy link

armanmamyan commented Apr 8, 2024

Hey guys, I want to discuss some parts of link creation dedicated to its treatment under different circumstances.

  1. Can we have a Link expiration functionality that will return the funds to the sender after N amount of time being unclaimed?
  2. What if the user, to whom the link has been sent wants to decline it? In that case, we need to automatically destroy the link and return the funds to the sender, or at least instead of returning - having an opportunity to get the pending links directly from peanut protocol and withdraw the funds for rejected links
@Hugo0
Copy link
Contributor

Hugo0 commented Apr 9, 2024

Hey @armanmamyan, thanks for your thoughts! We could definitely do that. Refundable payments are an important feature. We could make it so that a deposit can be refunded back to the sender after 7 days.

Would that make sense? Could you tell me a bit more about your usecase and how you're using peanut?

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

2 participants