sp1

Generate zero-knowledge proofs for RISC-V Rust programs with SP1 zkVM.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables developers to prove the correct execution of arbitrary RISC-V programs written in Rust, without requiring custom ZK circuits or deep cryptographic expertise.

Core Features & Use Cases

  • Zero-Knowledge Proofs: Generate ZK proofs for Rust programs compiled to RISC-V.
  • SDK and CLI: Provides tools for building, proving, and verifying programs.
  • Use Case: Prove the correctness of a complex computation performed by a Rust program, such as a custom cryptographic primitive or a data processing pipeline, and verify this proof efficiently.

Quick Start

Use the sp1 skill to build and prove the 'fibonacci-program' example.

Frequently Asked Questions about sp1

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

FAQPage Schema
How do I generate zero-knowledge proofs for Rust programs without writing custom circuits?

You can generate zero-knowledge proofs for Rust programs by compiling them to RISC-V and using the SP1 zkVM. This allows arbitrary Rust code to be proven without requiring custom ZK circuits.

Can I prove the execution of arbitrary Rust code compiled to RISC-V?

Yes, you can prove the execution of arbitrary Rust code compiled to RISC-V using the SP1 zkVM. It supports generating Plonk and Groth16 proofs to verify correct program execution.

What proof formats are supported when proving RISC-V programs?

The SP1 zkVM supports both Plonk and Groth16 proof formats for RISC-V programs written in Rust. These formats allow efficient verification of complex computations.

Do I need deep cryptographic expertise to use a zkVM for Rust programs?

No, you do not need deep cryptographic expertise to use this zkVM. It facilitates development workflows by allowing arbitrary Rust code to be proven without writing custom ZK circuits.

What tools are available for building and verifying zero-knowledge proofs?

The SP1 zkVM provides both an SDK and CLI tools for building, executing, proving, and verifying Rust programs. These tools facilitate the complete zero-knowledge proof generation workflow.

What are the limitations of proving arbitrary Rust code with a zkVM?

Programs are compiled to RISC-V before proof generation, meaning computations must be compatible with the RISC-V instruction set. Complex computations may require significant proving time and resources.