Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

airdrop NFT #2

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

airdrop NFT #2

wants to merge 6 commits into from

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 RiverRuby and AndrewCLu May 22, 2024 04:09
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.

1 participant