Simple question but I couldn’t find the answer anywhere…
How to use the zksnarks capability of Ethereum in order to perform fully Anonymous sending of Eter from one wallet to an other one ?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
A full answer would take a lot of time and space, and the general situation right now is that there's no easy way to use the zkSNARK precompiles.
The general outline are as follows:
This leaves out a lot of detail, but it's difficult to find a good example that walks through all of the steps.
Alternatively, you can try using ZoKrates which provides a high level language that compiles down to zkSNARKs for Ethereum. This makes it pretty easy to use, but the big issue is that the language is not nearly as expressive as the C++ used in libsnark, so building things like SHA3 or EC operations is impractical.
I would recommend trying ZoKrates first, then moving on to libsnark if you need more advanced features.