-
Notifications
You must be signed in to change notification settings - Fork 137
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
Private transactions with zk-snark protocol #22
Comments
What's the benefit of executing this Footstep to TON blockchain? |
The advantages of zk-snark technology are many:
Since the ultimate goal of TON is to unite the Internet and the blockchain world, this is a key building block. |
thank you for your answer, however you listed advantages of zk-snark technology, which is undoubtedly great technology. What's the benefit of implementing zk-snarks on TON? And what's the benefit of doing it right now? |
TON roadmap includes the integration of workchains for Bitcoin and Ethereum. However, TON does not allow confidential/private transactions to be sent. The implementation of zk-snark technology obviates this problem by introducing a missing piece on the TON blockchain. |
Are you ready to start working on this ? |
Unfortunately, I do not have sufficient knowledge to realise it at the level of quality required for a project like TON. I am not a professional developer; however, I opened the issue because I consider the functionality an important lack for the project. |
thank you! That's really valuable. Looking forward for a person / team capable of executing this Footstep. |
I think this project is out of scope. Adding a zk-snark protocol is something pretty low level, I'm not sure you can do it as a smart contract layer on top of TON. This would probably require change to the core validator node in C++, which I think goes a little too deep for a footstep. Also zk-snarks require key ceremonies for all validators, which is something pretty complicated to create that goes beyond the scope. I'm trying to see if anyone did something like this on Ethereum. I don't believe I've seen zk-snarks implemented on top of regular L1 Ethereum as Solidity contracts. They always require some other L2 blockchain to be part of the solution. |
I agree that adding zk-snark protocol support is a complex and low-level task. I am not sure if it is outside the prerogatives of Footsteps, however it is an important missing feature for TON. Regarding Ethereum, there is an old proposal on EIP-1922 verifiers (inactive) and an interesting project ZoKrates that allows the use of solidity for zk-snark verification. |
Verification of zk proofs is indeed easy to do in contracts and happens all the time on Ethereum L1. We can easily do this in TON without changing the core validator code. Preparing the proofs will happen off-chain, so the TON side will only be verifying the proof. That could work. This doesn't go quite as far as providing private transactions, but it is something :) This can be used to implement a mechanism such as TornadoCash. I'm not sure we want to do that on TON, because I suspect Tornado is used primarily by bad actors. |
Even the "pioneers" of the implementation of the zk-snark protocol, zcash, believe that it is too onerous to calculate on-chain proofs for many scenarios. |
Today Polygon released a layer 2 with zkEVM (zk compatible Ethereum Virtual Machine). |
Thank you for update, Polygon team did a great job! |
An interesting comparison xk-snark vs zk-stark vs bulletproof. |
I think both projects should be explored as they have different goals. The goal of this proposal is to have a private workchain with integrated zk-snark protocol or one of its advancements such as the halo protocol, which does not require any trusted setup, while your goal is to have a DApp built on the masterchain as layer 2 (similar to Ethereum solutions). |
Hello, |
Considerable time has passed, yet Bounty has not garnered resonance. A substantial amount of money is allocated for Bounty, which seems more suited for grants. |
Summary
zero-knowledge proofs (zk-snark) protocol for private transactions on a workchain (private workchain).
Context
Support private workchains for companies similar to Hyperledger, VeChain or Corda.
Goals
Deliverables
Definition of Done
[] Working private workchain example.
Reward
The text was updated successfully, but these errors were encountered: