HarryR / ethsnarks

A toolkit for viable zk-SNARKS on Ethereum, Web, Mobile and Desktop
GNU Lesser General Public License v3.0
241 stars 57 forks source link

Embed proving & verification key in application, convert to .cpp file #130

Open HarryR opened 5 years ago

HarryR commented 5 years ago

I think it's a good idea to be able to bundle the proving and verification keys together with specific builds of ethsnarks based projects.

To do this, there would be a converter which translates the proving key to a .cpp file, this file can then be built into the project avoiding the requirement to load files from disk to any external dependencies.