Skip to content

Conversation

@ivokub
Copy link
Collaborator

@ivokub ivokub commented Aug 6, 2025

Description

This PR adds some examples for using different features of gnark. Mainly to get some example people have asked public and reusable.

The nice feature of writing examples like this is that it becomes viewable in the public package cache. For example, one example would be https://pkg.go.dev/github.com/consensys/[email protected]/examples/inputpacking. When annotating with // Output, then the tests are also automatically executed so that we know everything is nicely up-to-date.

@ivokub ivokub requested a review from YaoJGalteland August 6, 2025 10:50
@ivokub ivokub self-assigned this Aug 6, 2025
@ivokub ivokub merged commit 1c14b21 into master Aug 6, 2025
7 checks passed
@ivokub ivokub deleted the docs/examples branch August 6, 2025 12:22
ivokub added a commit that referenced this pull request Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants