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

circuit transfers list of transactions as public input #8

Closed
barryWhiteHat opened this issue Mar 28, 2019 · 1 comment
Closed

circuit transfers list of transactions as public input #8

barryWhiteHat opened this issue Mar 28, 2019 · 1 comment
Assignees
Labels
circuit zksnark circuit issues

Comments

@barryWhiteHat
Copy link
Collaborator

We want to include a list of transactions to, from, amount , token as a merkle tree and pass that as a public input from the smart contract.

This will help with #3

Also it will allow us to do some

  1. Instant finaltiy stuff where the operator signs a transaction will be included in block. Afterwards they can be challenged to prove it was included. If they don't prove inside a time limit they get slashed.
  2. State channels. Where the public key in the side chain is a multisig we can use this to do state updates. Then the withdraw to a dispute resolution multisig defined by the multisig at withdraw time.
@barryWhiteHat barryWhiteHat added the circuit zksnark circuit issues label Mar 28, 2019
@therealyingtong therealyingtong self-assigned this Apr 1, 2019
@therealyingtong
Copy link
Collaborator

i'm going to close this issue since we already have a tx tree -- we have to add circuit transfer fees to it, which can be discussed on #10 .

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

2 participants