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

Workout demo for torii #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

AndrejZelonka
Copy link
Collaborator

@AndrejZelonka AndrejZelonka commented Jul 31, 2023

Please follow the README

I've included some of my experiments here.

The main goals is to customize the on-chain verification to fulfil the needs of a torii app.

Useful links:
iden3 smartcontracts repo (these are the constracts that actually verify the proof):
https://github.com/iden3/contracts/tree/master/contracts

polygonid implementations of the iden3 constracts:
https://github.com/0xPolygonID/contracts

polygonid official tutorial on working out the on chain verification:
https://0xpolygonid.github.io/tutorials/verifier/on-chain-verification/overview/#implement-erc20-zk-airdrop-in-20-minutes

forked repo: https://github.com/codingwithmanny/polygonid-on-chain-verification

@@ -26,24 +26,6 @@ contract ERC20Verifier is ERC20, ZKPVerifier {
ERC20(name_, symbol_)
{}

/**
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have removed some logic here, in the tutorial, the point of the SC is to Airdrop tokens after verification,

this constract needs to be adjusted

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