Comments (3)
I think they have changed the library since last updating the readme. Now the circom library doesn't generate .json, but .r1cs. If you look in the tutorial you can see how circom works: https://github.com/iden3/circom/blob/master/TUTORIAL.md
It would be useful to update the readme. I see more or less how the library works now from the new tests, but I can't get it to work properly.
Thanks!
from snarkjs.
In the new version we include a an option to export the r1cs file to json
from snarkjs.
When i want to convert circuit.circom to json, I am unable to generate json file using circom circuit.circom -o circuit.json
. I was able to generate r1cs using circom circuit.circom --r1cs
but how can i convert r1cs to json?
from snarkjs.
Related Issues (20)
- Missing crypto polyfills from the iife build HOT 3
- Jest hanging when running snarkjs.groth16.fullProve HOT 1
- Error occurred while starting a new powers of tau ceremony
- Threads not stopped automatically HOT 1
- Hard to debug Assert Failed error HOT 2
- Better browser handling during zkey contribution HOT 2
- Input format on witness generation
- [BUG]Malleability in groth16 leads to double spending HOT 16
- How to create a curve object. HOT 2
- QuotaExceededError for random bytes when verifying zkey or ptau file HOT 2
- [The "code" argument must be of type number. Received an instance of Uint8Array ] in SnarkJS 0.7.0 when importing ptau response HOT 1
- code after `verifyProof()` call becomes unreachable
- Process doesn't exit automatically when using ```groth16.fullProve()``` method -> issue for testing and custom project CLIs HOT 1
- The proof always validate for any public input HOT 2
- groth16.prove() not working after build HOT 1
- Snarkjs fail beacuse eached heap limit Allocation failed - JavaScript heap out of memory HOT 3
- NPM package is ~53MB, `.npmignore` should be added
- snarkjs zkey export json, PLONK, Error: Invalid section size reading HOT 1
- the round1 in proof generation of plonk in snarkjs HOT 4
- Adding TON smart contract generator HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snarkjs.