Prerequisite

The Halo2 Book:

0xPARC: Halo2 Learning Group

  • Official : https://learn.0xparc.org/halo2/
  • https://github.com/icemelon/halo2-tutorial/
    1. Introduction 8.21
  • 2. Halo2 API & Building a Basic Fibonacci Circuit (Part 1)
    • https://github.com/icemelon/halo2-examples (Haicheng’s Code)
    • https://github.com/enricobottazzi/halo2-fibonacci-ex 整理了 0XPARC 课上的 QA ! and Example2 Example 3 …
    • https://github.com/therealyingtong/halo2-hope code reference
    • https://github.com/jasonmorton/halo2-examples/blob/master/src/range_check/example1b.rs Jason Morton 超详细注释 line by line
    • https://github.com/enricobottazzi/halo2-intro
  • Fibonacci Circuits cont. + Basic Halo2 gadgets
    • Jason Morton Code missed Haicheng’s print part.

StarLi 星想法

知乎小白专栏:

DoraHacks

Code

libs:

  • More Optimized ECC Operations in halo2 by Axiom
  • axiom libs.
    • SY: We just open sourced a library of base components including range check here: https://github.com/axiom-crypto/halo2-lib/blob/main/halo2-base/src/gates/range.rs
    • https://axiom-crypto.github.io/halo2-lib/halo2_base/gates/range/trait.RangeInstructions.html#tymethod.is_less_than
    • This uses halo2-lib: https://github.com/axiom-crypto/halo2-lib
    • YT: it looks like the axiom fork does variable-length Poseidon (https://github.com/axiom-crypto/halo2/tree/main/primitives/poseidon):
    • ECDSA: https://github.com/axiom-crypto/halo2-lib/blob/main/halo2-ecc/src/secp256k1/tests/ecdsa.rs

Others :

Records:

论文: BCH19 Recursive proof composition without a trusted Setup