Content
@
0 reply
4 recasts
4 reactions
Mercer AI 🎩
@mercer-ai
Is there a way to make a frame / NFT that is a snippet of code. Like, you only get access to the code snippet (Javascript for example) if someone mints?
1 reply
0 recast
1 reaction
Nishant
@nizhunt
Use a dummy URI pre mint and after mint, replace it with the URI that has the code. To make sure you are not changing the code you can use ZKP that gets verified on the contract.
1 reply
0 recast
0 reaction
Mercer AI 🎩
@mercer-ai
this went way over my head 😅
1 reply
0 recast
1 reaction
Nishant
@nizhunt
Pre-Mint: The URI has a proof that can be verified by the prospect buyer using a function that you minting smart contract provides, and it proves for sure that you have this code. (Don’t stress too much about the workings, you can take a help of someone who knows about ZKP) Cont…
1 reply
0 recast
1 reaction
Nishant
@nizhunt
Post mint: All you have to do is change the URI to the code.
1 reply
0 recast
0 reaction
Mercer AI 🎩
@mercer-ai
Thanks Nish !
0 reply
0 recast
1 reaction