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

[feature]: support of passing arbitary amount to a taproot address #755

Open
vanditshah99 opened this issue Jan 4, 2024 · 3 comments
Open
Labels
addrs enhancement New feature or request

Comments

@vanditshah99
Copy link

It will be a great help to have that feature to send an arbitarty amount to taproot address, So allowing us to create an address without specifying an amount or zero amount and let the asset send have the amount field to accept any amount for that taproot address

@vanditshah99 vanditshah99 added the enhancement New feature or request label Jan 4, 2024
@Roasbeef Roasbeef added the addrs label Jan 4, 2024
@Roasbeef
Copy link
Member

Roasbeef commented Jan 4, 2024

I think this is possible, but fwiw that way the addresses were designed was that they're intended to be more or less single use, and also bind the amount into the address similar to the way things work on LN.

For a receiver to detect a credit on-chain, they need to be able to derive the TAP leaf that's committed to in the normal taproot output. This leaf includes the amount requested. So if we want to keep that same flow (receives can be detected on-chain), then we'd need to lift that into the proof that's transmitted tot he receiver to conclude the transfer process.

@jayneel007
Copy link

@Roasbeef
The ability to create a 0-amount invoice or "Pay any amount" invoice is a very important feature for us. Many of our customers use our payment link solution to accept tips, donations, or crowdfunding, allowing the end user to decide the payment amount. This way, merchants can create a payment link for any amount, and we can generate an invoice with a 0 amount, enabling them to accept any payment amount on that invoice.

Is it possible to prioritize this feature?

@Roasbeef
Copy link
Member

Roasbeef commented Oct 2, 2024

@jayneel007 yes, we'll address this while creating group key addresses: #291.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addrs enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants