Christian Montoya ๐ŸฆŠ pfp
Christian Montoya ๐ŸฆŠ
@m0nt0y4
Is there a guide to gating mini app features behind transactions like MiniWord is doing?
1 reply
1 recast
4 reactions

Kasra Rahjerdi pfp
Kasra Rahjerdi
@jc4p
hey, i'm pretty sure how @cbeav is doing it is triggering a tx on the client side then sending the txHash to a backend to verify against stuff then mark a flag on the DB, or at least that's how I do it in my apps
2 replies
0 recast
1 reaction

Christian Montoya ๐ŸฆŠ pfp
Christian Montoya ๐ŸฆŠ
@m0nt0y4
Iโ€™d love a code sample!
1 reply
0 recast
0 reaction

Kasra Rahjerdi pfp
Kasra Rahjerdi
@jc4p
https://github.com/jc4p/matcha-jump-frame/blob/5c76b064c07b53353b538318f86ae97754a755d0/api/src/index.js#L100 this grabs a txhash, verifies we haven't seen it before, tries to verify some basic data of it, updates the offchain db
1 reply
1 recast
1 reaction

Christian Montoya ๐ŸฆŠ pfp
Christian Montoya ๐ŸฆŠ
@m0nt0y4
Thank you
0 reply
0 recast
1 reaction