Consensys / anonymous-zether

A private payment system for Ethereum-based blockchains, with no trusted setup.
Other
293 stars 70 forks source link

Enhancement to protocol to support fees ? #35

Closed jennilee78 closed 3 years ago

jennilee78 commented 3 years ago

Hi, I would like to appreciate your hard work for Anonymous Zether Protocol. I am studying and trying to understand anon zether for a use-case and would like your comments. The use-case is a marketplace where items could be traded by sending anon zether from one user to another. However, the marketplace itself needs a fee (flat per transaction). At this moment, your implementation is ignoring (or has not implemented) the fee structure and as such is unsuitable for marketplace idea and probably main-net block-chain protocols. Please note, fees is also a requirement to enable anon zether on a block-chain (or as a native token). So it is definitely a design requirement.

AFAIK, Fees needs to be open, verifiable, un-cheatable.

I am exploring different ideas but would like your comments on the best method to implement such a functionality without lowering security.

The ideas i am evaluating 1) changing the protocol (Full Anonymous Zether Protocol page 38), so that the permutation matrix is an encryption of fees instead of 0 as mentioned in the original zether paper. ( since it's homomorphic ). 2) any idea or points or support from your side. ( since you are the expert).

Basically, its an enhancement to the protocol to support fees.

Thanks for your help from the bottom of my heart.

benediamond commented 3 years ago

Please re-raise this in https://github.com/benediamond/anonymous-zether; thanks.