nexus-xyz / network-api

Apache License 2.0
5 stars 5 forks source link

feat: Initial check-in of prover CLI #2

Closed collinjackson closed 1 month ago

collinjackson commented 1 month ago

Adds a command-line interface for proving. See README for usage.

Once the repo is public, the PR description and README need to be edited to reference the beta orchestrator server hostname. For now, we're testing with dev. Or I could change before landing. Reviewers, let me know if you have opinions.

% curl https://network-cli.nexus.xyz/install.sh | sh
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
/Users/USERNAME/.nexus exists. Updating.
Already up to date.
    Finished `release` profile [optimized] target(s) in 0.17s
     Running `target/release/prover dev.orchestrator.nexus.xyz`
prover_1211821565 supplying proofs to Orchestrator at wss://dev.orchestrator.nexus.xyz:443/prove
Sent registration message...
Received program message...
Received a 21060 byte program to prove with 3 bytes of input
Program trace 196 steps
Proving...
Proving from 0 to 10
Proved step 0
Proved step 1
Proved step 2
Proved step 3
Proved step 4
Proved step 5
Proved step 6
Proved step 7
Proved step 8
Proved step 9
Proof sent!
Waiting for another program to prove...
Received program message...
Received a 21060 byte program to prove with 3 bytes of input
Program trace 196 steps
Proving...
github-actions[bot] commented 1 month ago

Visit the preview URL for this PR (updated for commit 8d5d708):

https://nexus-cli--pr2-collinjackson-provi-b43hy3ad.web.app

(expires Thu, 12 Sep 2024 19:42:38 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 815ec4c632754f56eccfacfc0919559f5a85a0f1

opmklinh commented 1 week ago

image anyone know eror??