adrienne
@adrienne
Have your bangers been mentioned on /gmfarcaster ? Find out: lore.gmfarcaster.com
6 replies
8 recasts
17 reactions
adrienne
@adrienne
@jc4p how feasible/easy would it be to let users who see their casts in this miniapp to mint a "I've been mentioned on GMFarcaster and all I got was this lousy NFT" ?
2 replies
1 recast
9 reactions
Kasra Rahjerdi
@jc4p
honestly not too bad, the hard part is you’ll want the minting to require a signed message only you can sign, so no one rando can call the contract off basescan 1. make a list of all unique FIDs 2. in the mini app have a button that shows for them based on context.user 3. when they hit the button, your server using a key signs a signature and returns it to the mini app 4. app initiates tx with the arguments returned from server 5. contract verifies the signature and mints the nft!
0 reply
0 recast
0 reaction