Skip to content

Add new circuit using Baby-Jubjub - #14

Merged
xoloki merged 4 commits into
masterfrom
baby-jubjub
Apr 3, 2026
Merged

xoloki merged 4 commits into
masterfrom
baby-jubjub

Conversation

@xoloki

@xoloki xoloki commented Apr 3, 2026 •

Copy link
Copy Markdown
Owner

This PR is the first phase of a number of changes to the implementation of laurelin, in order to change the groth16 code to use Baby-Jubjub as the inner curve. This will allow for much faster circuit compilation and proving times, and lower the runtime cost and execution data requirements of the contract to allow larger ring sizes.

The first phase is:

  1. Preserve the existing golang circuit code using emulated bn254 in gnarl-circuit
  2. Add rust circuit code using baby-jubjub to circuit
  3. Update all scripts and CI to use gnarl-circuit with minimal changes
  4. Adds a run-wallet-integration-test script to test full cycle of SOL and laurelin operation

@xoloki xoloki self-assigned this Apr 3, 2026
@xoloki
xoloki marked this pull request as ready for review April 3, 2026 12:12
@xoloki xoloki changed the title Update circuit to use BabyJubjub Update circuit to use Baby-Jubjub Apr 3, 2026
@xoloki xoloki changed the title Update circuit to use Baby-Jubjub Add new circuit using Baby-Jubjub Apr 3, 2026
@xoloki
xoloki merged commit 51ee8d7 into master Apr 3, 2026
2 checks passed
@xoloki
xoloki deleted the baby-jubjub branch April 3, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant