You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the nitro client is fully responsible for communicating a voucher to other participants. However it would be nice if we could just submit the payment for data right along with the request.
We would just need to include the amount and the signature.
This would mean updating go-nitro to expose an API method to receive a voucher.
The text was updated successfully, but these errors were encountered:
This makes it pretty easy for a retrieval provider to:
accept a voucher as http request params
push it into their nitro node
inspect the returned amount to see if it covers the request.
If it doesn't cover the request, what happens? Obviously the request is not serviced. But the retrieval provider has now been paid some amount which won't count towards any future requests. That's something we either need to be comfortable with (can we fall back on the micropayments idea and not worry about it?), or solve somehow.
Clearly the nitro.Pay method needs to now return the voucher over the API on the client side of the interaction.
Right now the nitro client is fully responsible for communicating a voucher to other participants. However it would be nice if we could just submit the payment for data right along with the request.
We would just need to include the amount and the signature.
This would mean updating
go-nitro
to expose an API method to receive a voucher.The text was updated successfully, but these errors were encountered: