Comments (3)
Hi! I do not really know Foundry, but the library itself is (theoretically) framework independent.
from zk-merkle-tree.
So Foundry enables tests to be written and executed using Solidity, rather than having to switch language context.
The blocker I hit whilst trying to import this was setting up the tests as you have in ZKTree Vote. Specifically, porting the deployment of the mimcsponge
contract over. This functionality is imported from circomlibjs
anyway, so perhaps this isn't the correct place to discuss it, but I'm wondering if you know of ways that steps like this can be done using circom
or circomlib
instead maybe?
I'm relatively new to the ZK world so any info would be greatly appreciated! 🙏
from zk-merkle-tree.
Testing with solidity here is meaningless. You can use the generated Verifier to test the Verifier, but testing something with itself is meaningless. :)
I'm testing the generated Verifier with circomlibjs' JS implementation in my tests.
from zk-merkle-tree.
Related Issues (7)
- could you set a video to show how to run this projject for voting? i HOT 1
- Can this library be used for new project without any security issues HOT 1
- React JS incompatible HOT 1
- Deployed this zk-tree-vote project on testnet but encountered error HOT 9
- FIELD_SIZE need to change. Is this possible? HOT 6
- If a hashFn returns an odd length string, the buffer removes the last digit HOT 4
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 zk-merkle-tree.