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

docs: SDK and CLI usage for proving and verifying #1051

Merged
merged 8 commits into from
Dec 16, 2024
Merged

Conversation

stephenh-axiom-xyz
Copy link
Contributor

Assumed that the basic flow we want is this:

  • Write guest program
  • Build + transpile
  • Generate proof
  • Verify
    @jonathanpwang I'm don't really know how build + transpilation works, nor do I really know how to fill out any of the remaining sections.

Copy link
Contributor

@Golovanov399 Golovanov399 left a comment

Choose a reason for hiding this comment

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

seems very user-friendly!

book/src/writing-apps/build.md Outdated Show resolved Hide resolved
Copy link
Contributor

@jonathanpwang jonathanpwang left a comment

Choose a reason for hiding this comment

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

LGTM after comments and moving sdk to advanced usage section. Overall flow is good!

This comment has been minimized.

Copy link
Contributor

@jonathanpwang jonathanpwang left a comment

Choose a reason for hiding this comment

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

LGTM

This comment has been minimized.

Copy link

Benchmarks

group app_log_blowup app_total_cells_used app_total_cycles app_total_proof_time_ms leaf_log_blowup leaf_total_cells_used leaf_total_cycles leaf_total_proof_time_ms max_segment_length instance alloc
ecrecover_program
2
10,251,804
195,066
(+90.0 [+4.7%])
2,025.0
-
-
-
-
1048476 64cpu-linux-arm64 mimalloc
fibonacci_program
2
51,615,800
3,000,274
(+38.0 [+0.7%])
5,534.0
-
-
-
-
1048476 64cpu-linux-arm64 mimalloc
regex_program
2
238,890,449
8,381,808
(+214.0 [+1.3%])
17,307.0
-
-
-
-
1048476 64cpu-linux-arm64 mimalloc
verify_fibair
2
(-1,300 [-0.0%])
48,127,147
(-176 [-0.0%])
397,164
(-27.0 [-0.9%])
3,147.0
-
-
-
-
1048476 64cpu-linux-arm64 mimalloc

Commit: 547a68f

Benchmark Workflow

@jonathanpwang jonathanpwang merged commit a823773 into main Dec 16, 2024
10 checks passed
@jonathanpwang jonathanpwang deleted the docs/sdk-and-cli branch December 16, 2024 03:11
arayikhalatyan pushed a commit that referenced this pull request Dec 16, 2024
* docs: SDK and CLI usage for proving and verifying

* docs: overview

* docs: more updates

* Update book/src/advanced-usage/sdk.md

* chore: delete unused

* chore: remove link

* docs: more SDK + CLI stuff

* docs: stdin section

---------

Co-authored-by: Jonathan Wang <[email protected]>
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.

4 participants