risc0

Generate and verify cryptographic computation receipts with the RISC Zero zkVM.

4|1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/hairyf/blockchain-skills --skill risc0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: risc0
Source: https://github.com/hairyf/blockchain-skills/tree/main/skills/risc0
Command: npx skills add https://github.com/hairyf/blockchain-skills --skill risc0

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables developers to perform verifiable computations using the RISC Zero zkVM, allowing arbitrary code execution with cryptographic proofs of correctness.

Core Features & Use Cases

  • Verifiable Computation: Run code (Rust, C, C++) in a zkVM and generate proofs.
  • Guest/Host Interaction: Define how guest code reads inputs and commits outputs to the host.
  • Receipt Verification: Cryptographically verify that a specific program executed correctly.
  • Use Case: Prove the result of a complex calculation off-chain and verify it on-chain without re-executing the computation, ensuring integrity and privacy.

Quick Start

Use the risc0 skill to generate a verifiable computation receipt for the provided guest code and input data.

Frequently Asked Questions about risc0

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate zero-knowledge proofs for off-chain computation on Ethereum?

To generate zero-knowledge proofs for Ethereum, run guest code in the RISC Zero zkVM and produce a cryptographic receipt. This receipt verifies correct execution on-chain without re-running the computation.

What is verifiable computation and how does a zkVM work?

Verifiable computation uses a zero-knowledge virtual machine (zkVM) to execute code and generate cryptographic proofs of correctness. The RISC Zero zkVM runs RISC-V programs, creating receipts that cryptographically guarantee specific execution results without revealing private inputs.

Can I run Rust, C, or C++ code inside a RISC-V zkVM?

Yes, the RISC Zero zkVM supports executing code written in Rust, C, and C++. Programs are compiled to the RISC-V architecture, allowing the zkVM to generate verifiable computation proofs for arbitrary logic written in these languages.

How do I verify a zkVM receipt on-chain without re-executing the computation?

Verify a zkVM receipt on-chain by submitting the generated cryptographic proof to a verifier contract. The receipt contains the proof of correct execution, allowing the blockchain to validate the off-chain computation result without re-executing the original program.

What proving options are available for RISC Zero verifiable computation?

RISC Zero verifiable computation supports multiple proving options including dev-mode for quick testing, local proving for self-contained execution, and remote proving for scalable workloads. These options accommodate different development stages and blockchain integration requirements.

How do guest code and host interaction work in a zero-knowledge virtual machine?

In a zero-knowledge virtual machine, guest code runs isolated inside the zkVM and communicates with the host environment by reading inputs and committing outputs. This interaction defines the boundary for verifiable computation and cryptographic proof generation.