AI prompts
base on The Nexus zkVM: The zero-knowledge virtual machine # The Nexus zkVM
<div align="left">
<a href="https://t.me/nexus_zkvm">
<img src="https://img.shields.io/endpoint?color=neon&logo=telegram&label=chat&url=https%3A%2F%2Fmogyo.ro%2Fquart-apis%2Ftgmembercount%3Fchat_id%3Dnexus_zkvm"/></a>
<a href="https://github.com/nexus-xyz/nexus-zkvm/graphs/contributors">
<img src="https://img.shields.io/github/contributors/nexus-xyz/nexus-zkvm.svg"></a>
<a href="https://twitter.com/NexusLabsHQ">
<img src="https://img.shields.io/badge/Twitter-black?logo=x&logoColor=white"/></a>
<a href="https://nexus.xyz">
<img src="https://img.shields.io/static/v1?label=Stage&message=Alpha&color=2BB4AB"/></a>
<a href="https://github.com/nexus-xyz/nexus-zkvm/blob/main/LICENSE-MIT">
<img src="https://img.shields.io/badge/license-MIT-blue"/></a>
<a href="https://github.com/nexus-xyz/nexus-zkvm/blob/main/LICENSE-APACHE">
<img src="https://img.shields.io/badge/license-APACHE-blue"/></a>
</div>
<p align="center">
<p align="center">
<img width="100%" src="assets/nexus_docs-header.png" alt="Logo">
</p>
</p>
The Nexus zkVM is a modular, extensible, open-source, and highly-parallelized zkVM, designed to run at *a trillion CPU cycles proved per second* given enough machine power.
## Folding schemes
If you're interested in our implementation of folding schemes, check the [`nexus-nova`](./nova/) crate.
## Quick Start
### 1. Install the Nexus zkVM
First, install Rust: https://www.rust-lang.org/tools/install.
Also, make sure you have a working version of [cmake](https://cmake.org/).
Note: cmake is a required dependency.
Next, install the RISC-V target:
```shell
rustup target add riscv32i-unknown-none-elf
```
Then, install the Nexus zkVM:
```shell
cargo install --git https://github.com/nexus-xyz/nexus-zkvm cargo-nexus --tag 'v0.2.4'
```
Verify the installation:
```shell
cargo nexus --help
```
This should print the available CLI commands.
### 2. Create a new Nexus project
```shell
cargo nexus new nexus-project
```
And change directory to the new project:
```shell
cd nexus-project
```
This will create a new Rust project directory with the following structure:
```shell
./nexus-project
├── Cargo.lock
├── Cargo.toml
└── src
└── main.rs
```
As an example, you can change the content of `./src/main.rs` to:
```rust
#![cfg_attr(target_arch = "riscv32", no_std, no_main)]
use nexus_rt::write_log;
#[nexus_rt::main]
fn main() {
write_log("Hello, World!\n");
}
```
### 3. Run your program
```bash
cargo nexus run
```
You should see the program print:
```bash
"Hello, World!"
```
This command should run successfully. To print the full step-by-step execution trace on the NVM, run:
```bash
cargo nexus run -v
```
### 4. Prove your program
Generate a proof for your Rust program using the Nexus zkVM.
```shell
cargo nexus prove
```
This command will save the proof to `./nexus-proof`.
### 5. Verify your proof
Finally, load and verify the proof:
```shell
cargo nexus verify
```
You should see the program print "Verifying Proof..." and finally "Finished" when complete.
## Learn More
Run `cargo nexus --help` to see all the available commands.
Also check out the documentation at [docs.nexus.xyz](https://docs.nexus.xyz), or join our [Telegram](https://t.me/nexus_zkvm) chat to discuss!
Nexus is committed to open-source. All of our code is dual licensed under MIT and Apache licenses. We encourage and appreciate contributions.
", Assign "at most 3 tags" to the expected json: {"id":"10715","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"