As a user that wants to give a Kudo, I want there to be a way to generate a claim link through which a recipient can claim the kudo.
Currently, as far as I understand, there are three ways to send a Kudo:
This is needed so that users (not Admins) can generate their own airdrop links that their recipients can claim.
Type: Feature
Currently, there is no way for a user to generate a claim/airdrop link for a Kudo.
There should be a tool or endpoint that allows user to generate claim/airdrop links for Kudos.
To be provided by @owocki in comments. Discussion in slack.
IMHO the easiest way for this to work would be to have the user purchase the kudos from gitcoin, and then gitcoin's server generates an airdrop link for you to just put on the card.
basically we could expose an endpoint where you POST a txid and we validate that it is correct and give you a claim link.
validations to perform:
if validation passes, create a BulkTransferCoupon object with a num_uses_total of 1, and give the code back to the API
well, we have to secure that link, so we need to have the API also provide a "key" that needs to be added. Else someone can just go and grab all TXIDs and get the BulkCoupons from there.
Basically we'd want it to have the Gitcoin-Kudos-Pay route, with an extra flag that generates an link (as mentioned by owocki).
As soon as the TX comes back as successful (sync) and the flag is set in the ipfs json object, we:
Basically I see the workflow as the following:
Like this?
Most helpful comment
IMHO the easiest way for this to work would be to have the user purchase the kudos from gitcoin, and then gitcoin's server generates an airdrop link for you to just put on the card.
basically we could expose an endpoint where you POST a txid and we validate that it is correct and give you a claim link.
validations to perform:
if validation passes, create a
BulkTransferCouponobject with anum_uses_totalof 1, and give the code back to the API