Closed yann300 closed 4 years ago
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 500.0 DAI (500.0 USD @ $1.0/DAI) attached to it.
Feel free to join https://gitter.im/ethereum/remix-dev and https://gitter.im/ethereum/remix-dev-plugin , we can have a chat there. Also @Schaeff member of Zokrates team can certainly help on this.
@yann300 - this issue is currently expired on Gitcoin; do you want this issue to be reopened or cancelled?
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work has been started.
These users each claimed they can complete the work by 3 years, 5 months ago. Please review their action plans below:
1) josefj has been approved to start work.
Note: version 0.1.x is a js/jquery API version 0.2.x will have a vue front-end version 0.3.x should run via wasm (completely front-end)
Learn more on the Gitcoin Issue Details page.
You're good to go @josefj let us know if you have any questions!
Any update on this?
https://github.com/JosefJ/ZoKratesPlugin
although it's far from being compiled to WASM
@yann300 is this issue still active?
@JosefJ are you still working on this?
it seems out of date bounty, please close it.
@yann300 close it?
Zokrates Plugin
(subject to change)
We've been releasing an API (available in http://remix-alpha.ethereum.org) which allows developing plugin for Remix. (See https://github.com/ethereum/remix/blob/master/docs/remix_plugin.md and https://github.com/ethereum/remix/blob/master/docs/remix_plugin_api.md) Checkout https://remix-alpha.ethereum.org /
settings tab / Oraclize
for a live example.This issue is specifically about developing a
Zokrates Plugin
.Proposal for implementation
(You don't need to strictly follow this proposal, we would like to have your feedback) Zokrates is a toolbox that aims at bringing better privacy and scalability to Ethereum using zkSNARKs.
It enables developers to design programs whose correct execution can be checked on chain, optionally hiding some of the inputs fed into the program.
You can watch an introduction to the toolbox, see the code and see an example of ZoKrates program.
This plugin aims to put Zokrates in a JavaScript like environment.
The develop branch will be used to generate the wasm library usable in the browser.
The suggested approach is the following:
zokrates-core
crate and check that you can compile it to wasmcompile
which you can find inzokrates-code/src/compile.rs
. Feel free to setresolve_option
toNone
at first, which will disable import statements in ZoKrates code.zokrates-wasm-wrapper
crate on this (outdated) branch if you need Javascript bindingscompute-witness
which runs the ZoKrates program given inputsThen we can use the library:
Plugin UI:
Some further tasks:
setup
andgenerate-proof
which are the intensive tasks of the pipeline. You can checkout the work done in this issue HarryR/ethsnarks#7zokrates_fs_resolver
Team
We are the team behind Remix IDE and related libraries, using this hackathon as a kickstart for the Remix API. We've setup an extended team for helping you during this event
Beside normal funding, we will at the end of the event select 4 teams that will receive sponsorship from the Ethereum Foundation.
Be sure to contact us at any time online or grab us directly at the event.
Skills wanted
JavaScript / Ethereum
Communication
We will be around giving advice and helping if needed. And in any case just drop your thoughts there ;)
https://gitter.im/ethereum/remix-dev-plugin
How to get started:
src
folder