Coder Social home page Coder Social logo

nilfoundation / zkllvm Goto Github PK

View Code? Open in Web Editor NEW
270.0 14.0 43.0 2.16 MB

Zero-Knowledge Proof Systems Circuit Compiler

Home Page: https://docs.nil.foundation/zkllvm

CMake 22.17% C++ 66.34% Shell 2.34% Python 9.15%
compiler proof-system zero-knowledge llvm

zkllvm's Issues

Command to compile own circuit

Guys, it's unclear how can I make my own .cpp compilation

make -C ${ZKLLVM_BUILD:-build} circuit_examples -j$(nproc)

what should I put instead of circuit_examples?

Provide configuration for rslang build

Config file config.zkllvm.toml in rslang default configs will be removed. So in CMakeLists.txt we should provide configuration for building rslang using libs/rslang/configure script.

This also will provide more accurate paths to LLVM and allow to use absolute paths. As mentioned in this issue, absolute paths are required sometimes.

Update hashes intrinsics

Sha2-256 and Poseidon intrinsics support has been recently added to circifier and assigner. We need to update the SDK and the submodules as well in order to show this functionality in the examples.

Github actions run tests CI

Use github Actions to automate tests execution (or manually trigger tests execution). Use self-hosted actions runners to run CI.

Add CI builds on macOS

Follow-up to #2: build zkllvm in CI on macOS, at least in one environment (os version × compiler × boost).

Github actions change patch version

Add file with library version. If necessary, the developer will change the major and minor versions of the library in it.

Make automatic change of library patch version in case of merge to master. (In case of successful closing of PR)

Build script for rslang

Build rslang from the root CMake file.

Linked branch should be merged only after merging rslang into circifier.

Update transpiler to generate pure solidity files without yul(asm)

Warp transpiler does not support low-level Yul (asm) . We need to use warp to make our gates transpiled to cairo so they can be deployed on starknet.

We have two options here :
- Option 1: Output solidity without assembly -> Use warp (upcoming version) to generate cairo. We need to get a better estimate from nethermind team on when this version will be ready.
- Option 2: Output pure cairo 1.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.