Skip to content

docs: update documentation to latest gnark release - #91

Merged
ivokub merged 3 commits into
mainfrom
feat/update
Sep 23, 2026
Merged

ivokub merged 3 commits into
mainfrom
feat/update

Conversation

@ivokub

@ivokub ivokub commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Note

Low Risk
Changes are limited to markdown documentation and example snippets; no library or runtime behavior is modified.

Overview
Documentation-only refresh aligning gnark docs with the current release APIs and supported backends.

Concepts & onboarding: Constraint-size guidance no longer cites a fixed BN254 Groth16 cap; it stresses measuring proving time and memory. Proving-schemes/curves content is corrected (title, PlonK + KZG wording) and the supported Groth16/PlonK pairing curves are narrowed to BN254, BLS12-381, BLS12-377, and BW6-761, with a new section on small fields and std/math/emulated. Get-started now targets Go 1.25+ and mentions ICICLE GPU Groth16.

How-to flows: Examples consistently use ecc.*.ScalarField() for compile/witness, explicit error handling, and updated witness JSON (NewSchema, ToJSON/FromJSON). PlonK is documented as supported (compile with scs, unsafekzg SRS for dev, plonk.Setup/Prove/Verify). Testing favors test.CheckCircuit with valid/invalid assignments and optional curve/backend filters; hints are rewritten around solver.Hint, api.Compiler().NewHint, and backend.WithSolverOptions(solver.WithHints(...)). Solidity export notes PlonK on BN254 and solidity.With* prover/verifier options.

Tutorials & reference: The EdDSA tutorial is shortened to the maintained std gadget flow (Assign, CheckCircuit, Groth16). Standard library tabs show current MiMC, EdDSA, Merkle, and recursion verifier APIs. API reference adds links to std and test.

Reviewed by Cursor Bugbot for commit 4e377a0. Bugbot is set up for automated code reviews on this repo. Configure here.

@ivokub
ivokub requested a review from a team as a code owner September 23, 2026 10:23
@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
doc-gnark Ready Ready Preview Sep 23, 2026 10:41am UTC

Request Review

@ivokub
ivokub merged commit f746fa1 into main Sep 23, 2026
14 of 16 checks passed
@ivokub
ivokub deleted the feat/update branch September 23, 2026 21:42

This branch was successfully deployed

1 active deployment
Preview — 4e377a09 Deployed Sep 23, 2026 by vercel[bot]
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.

2 participants