Skip to content

Commit

Permalink
Merge branch 'add_pairing_bls12_377' of https://github.com/lambdaclas…
Browse files Browse the repository at this point in the history
…s/lambdaworks into add_pairing_bls12_377
  • Loading branch information
jotabulacios committed Oct 25, 2024
2 parents 491680d + 73980fd commit 85ed068
Show file tree
Hide file tree
Showing 26 changed files with 855 additions and 534 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ exclude = ["ensure-no_std"]
resolver = "2"

[workspace.package]
version = "0.10.0"
version = "0.11.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/lambdaclass/lambdaworks"

[workspace.dependencies]
iai-callgrind = "0.3.1"
lambdaworks-crypto = { path = "./crypto", version = "0.10.0", default-features = false }
lambdaworks-gpu = { path = "./gpu", version = "0.10.0" }
lambdaworks-math = { path = "./math", version = "0.10.0", default-features = false }
lambdaworks-crypto = { path = "./crypto", version = "0.11.0", default-features = false }
lambdaworks-gpu = { path = "./gpu", version = "0.11.0" }
lambdaworks-math = { path = "./math", version = "0.11.0", default-features = false }
stark-platinum-prover = { path = "./provers/stark" }
lambdaworks-winterfell-adapter = { path = "./provers/winterfell_adapter"}
lambdaworks-groth16 = { path = "./provers/groth16" }
Expand Down
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@ This library provides efficient implementation of cryptographic primitives used

</div>

## Examples - mini apps

Below is a list of examples to understand lambdaworks and learn what you can build with the tools provided.

- [Merkle Tree CLI](./examples/merkle-tree-cli/)
- [Proving Miden](./examples/prove-miden/)
- [Shamir's secret sharing](./examples/shamir_secret_sharing/)
- [BabySNARK](./examples/baby-snark/)
- [Pinocchio](./examples/pinocchio/)
- [Using Circom with lambdaworks's Groth16](./provers/groth16/circom-adapter/src/README.md)
- [Proving Fibonacci using Circom and lambdaworks](./examples/prove-verify-circom/circom_lambdaworks_tutorial.md)

- You can use Circom to generate circuits and use lambdaworks's capabilities to prove the execution with [Groth16](./provers/groth16/README.md).
- You can use the [Stark prover](./provers/stark/src/) to define an algebraic intermediate representation (AIR) and prove the execution of a program

## Why we built lambdaworks

Zero-Knowledge and Validity Proofs have gained a lot of attention over the last few years. We strongly believe in this potential and that is why we decided to start working in this challenging ecosystem, where math, cryptography and distributed systems meet. The main barrier in the beginning was not the cryptography or math but the lack of good libraries which are performant and developer friendly. There are some exceptions, though, like gnark or halo2. Some have nice APIs and are easy to work with, but they are not written in Rust, and some are written in Rust but have poor programming and engineering practices. Most of them don't have support for CUDA, Metal and WebGPU or distributed FFT calculation using schedulers like Dask.
Expand All @@ -41,14 +56,6 @@ Most of math and crypto crates supports no-std without allocation with `no-defau

Both Math and Crypto support wasm with target `wasm32-unknown-unknown`. To see an example of how to use this to deploy a verifier in a browser, check the Cairo Prover wasm-pack verifier.

## Examples - mini apps

- [Merkle Tree CLI](https://github.com/lambdaclass/lambdaworks/tree/main/examples/merkle-tree-cli)
- [Proving Miden](https://github.com/lambdaclass/lambdaworks/tree/main/examples/prove-miden)
- [Shamir's secret sharing](https://github.com/lambdaclass/lambdaworks/tree/main/examples/shamir_secret_sharing)
- [BabySNARK](https://github.com/lambdaclass/lambdaworks/tree/main/examples/baby-snark)
- [Pinocchio](https://github.com/lambdaclass/lambdaworks/tree/main/examples/pinocchio)

## Exercises and Challenges

- [lambdaworks exercises and challenges](https://github.com/lambdaclass/lambdaworks_exercises/tree/main)
Expand Down
Binary file removed bootcamp/0_groth_16.jpg
Binary file not shown.
Binary file removed bootcamp/0_snarks_starks.jpg
Binary file not shown.
Binary file removed bootcamp/0_starks_constraints.jpg
Binary file not shown.
Binary file removed bootcamp/0_starks_general.jpg
Binary file not shown.
Binary file removed bootcamp/0_starks_proof.jpg
Binary file not shown.
247 changes: 0 additions & 247 deletions bootcamp/README.md

This file was deleted.

Binary file removed bootcamp/WhiteboardDiscussion.png
Binary file not shown.
Binary file removed bootcamp/WhiteboardPolynomials.png
Binary file not shown.
Binary file removed bootcamp/WhiteboardRSA.png
Binary file not shown.
Loading

0 comments on commit 85ed068

Please sign in to comment.