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

zero balance account creations #11

Open
barryWhiteHat opened this issue Mar 28, 2019 · 0 comments
Open

zero balance account creations #11

barryWhiteHat opened this issue Mar 28, 2019 · 0 comments
Labels
circuit zksnark circuit issues

Comments

@barryWhiteHat
Copy link
Collaborator

We want to make it cheaper to make zero balance accounts. So we add an extra smart contract call zero_bal_account_creation which only the operator can call.

  1. This provies a merkle root as a public input to a snark
  2. The snark proves that the balance is zero for every leaf in the merkle tree.
  3. The smart contract then appends this to the deposit que as defined Deposit coins to smart contract into snark side chain #2
@barryWhiteHat barryWhiteHat added the circuit zksnark circuit issues label Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
circuit zksnark circuit issues
Projects
None yet
Development

No branches or pull requests

1 participant