Coder Social home page Coder Social logo

sbnair / zkp_l1_l2 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 355.82 MB

Project containing ZKP proof generation and verification logics

License: MIT License

Rust 37.91% Jupyter Notebook 0.52% Shell 0.04% Python 0.11% C++ 42.61% TypeScript 0.41% Solidity 1.88% JavaScript 0.01% Makefile 10.80% Cuda 3.24% C 0.76% Brainfuck 0.03% Metal 1.32% LLVM 0.37%

zkp_l1_l2's Introduction

zkp_L3_prover_L1_verifier

This repo will maintain proof generation and verifier codes written in rust and solidity

Most of the installations work for linux machines and mac machines which support apt-get.

Install following dependencies for C++

sudo apt install g++

sudo apt install libssl-dev

sudo apt install libboost-all-dev

sudo apt install libjsoncpp-dev

sudo apt-get install libgtest-dev

In mac : use this command for omp libraries and for g++ either install Xcode or the below gcc command using brew.

brew install libomp

brew install gcc48

brew install openssl (Installation for ssl-dev)

brew install boost (Installation for libboost)

brew install jsoncpp (Installation for libjsoncpp)

brew install googletest (Installation for googletest)

Install Rust

curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh

source $HOME/.cargo/env

rustc --version

Run Commands

cd ~/zkp_L3_prover_L1_verifier/crypto/stark

cargo test

cargo run --example wrapper --arguments having values for :

Assembly File

Primary Tape

Auxillary Tape

Time Steps

Security Parameter

Prover

Address

Port Number

Verbose

Session

Macros File

crypto/stark_verifier_ethereum - written in solidity code to verify proof.

crypto/stark - written in rust code to generate proof.

https://docs.google.com/document/d/1RrUBEJVJ-Ijf6x9RoIXPActFlZlxPVvq0jo3FTEpMDU/edit?pli=1#

zkp_l1_l2's People

Contributors

sbnair avatar

Watchers

 avatar

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.