Skip to content
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

add command line tool for proof generation & verification #238

Closed
jan-ferdinand opened this issue Nov 17, 2023 · 6 comments
Closed

add command line tool for proof generation & verification #238

jan-ferdinand opened this issue Nov 17, 2023 · 6 comments
Labels
🧑‍💻 dx/ux Developer experience & user experience 💫 good first issue Good for newcomers 🟡 prio: medium Not super urgent 🛠️ tooling Developer tools

Comments

@jan-ferdinand
Copy link
Member

It would be nice to run Triton VM as a command-line tool; Andrew Milson's demo of ministark is a good example; basically one sub-command for proving and dumping something into a file (or stdout), and another sub-command for verifying by reading that file (or stdin).

(extracted from #164)

@jan-ferdinand jan-ferdinand added 🛠️ tooling Developer tools 💫 good first issue Good for newcomers 🟡 prio: medium Not super urgent 🧑‍💻 dx/ux Developer experience & user experience labels Nov 17, 2023
@cyberbono3
Copy link

may I start working on it?

@jan-ferdinand
Copy link
Member Author

Sure thing! 🙂

@chancehudson
Copy link

gentle bump, could use #305 next week

@erikerlandson
Copy link

Also would love a command-line interface for running programs and generating proofs. Basically, a CLI that supports the operations implied by this diagram:

Image

@jan-ferdinand
Copy link
Member Author

I made a stand-alone CLI for running and proving Triton programs and verifying those proofs. You can install it directly through cargo install triton-cli.

@jan-ferdinand
Copy link
Member Author

Basically, a CLI that supports the operations implied by this diagram […]

In order to use the new CLI to complete cycles in this diagram, you need a verifier for Triton VM written in Triton assembly. Lucky for you, you can find one in tasm-lib. 😊 Unfortunately, for now, you need to set things up yourself in order to use it. One project that uses the recursive verifier is Neptune Cash, for example here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧑‍💻 dx/ux Developer experience & user experience 💫 good first issue Good for newcomers 🟡 prio: medium Not super urgent 🛠️ tooling Developer tools
Projects
None yet
4 participants