Skip to content

Migrate to Baby-Jubjub - #15

Merged
xoloki merged 11 commits into
masterfrom
bjj-migration
Apr 4, 2026
Merged

xoloki merged 11 commits into
masterfrom
bjj-migration

Conversation

@xoloki

@xoloki xoloki commented Apr 3, 2026 •

Copy link
Copy Markdown
Owner

This PR moves all crypto operations to pure Rust, using a proper outer/inner curve choice for a groth16 zksnark on Solana. Testing times are reduced by a factor of 5, with the faster circuit setup and prove times plus aggressive caching of the Rust dependencies and toolchain.

The tradeoff was that now we have to do our El-Gamal commitment updates in the contract without a syscall, but they are batched so the total cost is minimized.

@xoloki xoloki self-assigned this Apr 3, 2026
@xoloki
xoloki marked this pull request as ready for review April 3, 2026 21:18
@xoloki
xoloki merged commit f7319c0 into master Apr 4, 2026
4 checks passed
@xoloki
xoloki deleted the bjj-migration branch April 4, 2026 11:21
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