Skip to content

add examples #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add examples #84

wants to merge 1 commit into from

Conversation

sonnetx
Copy link
Collaborator

@sonnetx sonnetx commented Jul 21, 2025

Added four examples that demonstrate the implemented functionality.

  • Aggregating multiple witnesses
  • A simple commitment
  • Using the verifier with a single witness
  • A benchmarking program

Copy link
Contributor

@NiDimi NiDimi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool work 🔥 🎉. Left some comments. Can you also fix the CI? Also try to have some more descriptive branch names.

@@ -0,0 +1,62 @@
use labrador::{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some problems, running this example

Comment on lines +18 to +21
// Step 2: Encode Falcon signatures as witnesses
let rank = 40;
let multiplicity = 100;
let bound = Zq::new(320000);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to explain where you found the numbers

@@ -0,0 +1,20 @@
extern crate labrador;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We usually add the benches into the benches directory :)

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