Skip to content

Conversation

@kalidiagne
Copy link

  • Smart contract to verify proof + mint NFT when valid to a specific address
  • FE Implemenetation

Invalid address

Add recipient

Already collected for user

@kalidiagne kalidiagne requested review from AndrewCLu and RiverRuby May 22, 2024 04:09
@vercel
Copy link

vercel bot commented May 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sig-sing-workshop ❌ Failed (Inspect) May 22, 2024 4:09am

Comment on lines +67 to +68
const callData = undefined; // groth16.exportSolidityCallData(proof, pub);
const tx = await contract.verifyAndMint(to, metadataURI, callData);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const callData = undefined; // groth16.exportSolidityCallData(proof, pub);
const tx = await contract.verifyAndMint(to, metadataURI, callData);
const callData = undefined; // groth16.exportSolidityCallData(proof, pub);
const tx = await contract.verifyAndMint(to, metadataURI, callData);

@RiverRuby @AndrewCLu
How can I get the proof/pub, can I retrieve it from the data present in the user object?
Can I have a walkthrough?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants