-
Notifications
You must be signed in to change notification settings - Fork 9
Leios's Voting Demo #600
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
Leios's Voting Demo #600
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow works fine once set up. Further improvements are of course possible, but this is good stuff already!
|
|
||
| ## Workflow | ||
|
|
||
| The scripts are designed to be run from the `demo/` directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The scripts were a bit annoying to run for me:
- I was using
PATHto point to the binary at first (as required on line 9) - Then I learned that
CLIneeds to be set, which I did - Then I saw that
scripts/.env_clineeds to exist - Which had me look at
00_set_cli.shscript, but that did not accept the binary in my ase
I would suggest to lower the specific requirements and just expec the leios_crypto_benchmarks on the PATH, or be explicit about needing CLI to be set.
FWIW I was using direnv and a nix-shell to get the binaries and python packages in place, but this is different for each user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the feedback, @ch1bo — and apologies for the confusion with the README setup instructions.
I reviewed the steps and have now created a PR that updates the README with corrected and simplified instructions for running the demo.
Because my laptop currently has limited disk space, I wasn’t able to use Nix for this setup — so I focused on making sure the demo can also be run easily without it.
Here’s the PR with the fixes:
👉 #606
49afc5a to
27dd526
Compare

Description of the changes:
This PR adds a Demo that illustrates the Leios voting and certification flow.
It includes helper scripts that invoke the existing Rust CLI implementation to generate inputs and results, along with a browser-based UI for visualization.
Purpose:
Provide an end-to-end visualization of the Leios voting and certification mechanisms.
Main components:
Related issue:
Closes #564
Reviewers:
@ch1bo @bwbush
(Please let me know if you think others should also review this PR.)