2024-05-28 14:14:37 +02:00
2023-11-17 13:21:17 +01:00
2024-01-03 13:16:33 +01:00
2024-01-03 13:16:33 +01:00
2024-01-03 13:16:33 +01:00
2024-01-03 13:16:33 +01:00
2023-11-17 13:21:17 +01:00
2023-11-17 13:21:17 +01:00
2023-11-17 13:21:17 +01:00
2024-05-28 14:14:37 +02:00
2023-11-17 13:21:17 +01:00

Semaphore in Risc-0

This repository contains an implementation of Semaphore using risczero, it can serve as a practical example.

Learning path

If you want to learn how to use Risc-0 you should start with this. You can ignore Bonsai for learning about circuits. The risc0 github contains a lot of very useful examples. Another great ressource is Thor K.'s examples

Directory Structure


├── Cargo.toml
├── merkletree
│   └── src
│       └── lib.rs
├── host
│   ├── Cargo.toml
│   └── src
│       └── main.rs                        <-- [Host, generate circuit inputs]
└── methods
    ├── Cargo.toml
    ├── build.rs
    ├── guest
    │   ├── Cargo.toml
    │   └── src
    │       └── bin
    │           └── method_name.rs         
    └── src
        └── lib.rs                        <-- [Guest, contains Semaphore logic]
Description
No description provided
Readme Apache-2.0 114 KiB
Languages
Rust 100%