Skip to content

Commit 5b920dc

Browse files
authored
chore: rename crates (#16)
1 parent ee87a30 commit 5b920dc

File tree

14 files changed

+262
-130
lines changed

14 files changed

+262
-130
lines changed

.github/labels.yaml

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
- name: "bug 🐛"
2+
color: "d73a4a"
3+
description: "Something isn't working"
4+
5+
- name: "documentation 📜"
6+
color: "0075ca"
7+
description: "Improvements or additions to documentation"
8+
9+
- name: "feature ✨"
10+
color: "a2eeef"
11+
description: "New feature or request"
12+
13+
- name: "performance ⚡"
14+
color: "fbca04"
15+
description: "Benchmarks or performance improvements"
16+
17+
- name: "question ❓"
18+
color: "5319e7"
19+
description: "Further information is requested"
20+
21+
- name: "structure 🧱"
22+
color: "0052cc"
23+
description: "Structure refactors or changes"
24+
25+
- name: "test ✏️"
26+
color: "0e8a16"
27+
description: "Testing improvements"
28+
29+
- name: "priority-high 🔥"
30+
color: "b60205"
31+
description: "High priority tasks"
32+
33+
- name: "priority-medium 🚧"
34+
color: "fbca04"
35+
description: "Medium priority tasks"
36+
37+
- name: "priority-low 🌱"
38+
color: "0e8a16"
39+
description: "Low priority tasks"
40+
41+
- name: "good first issue 👋"
42+
color: "7057ff"
43+
description: "Good for newcomers"
44+
45+
- name: "help wanted 🆘"
46+
color: "008672"
47+
description: "Extra attention is needed"
48+
49+
- name: "tech debt 🏗️"
50+
color: "ff7619"
51+
description: "Technical debt and cleanup tasks"
52+
53+
- name: "ci/cd 🔄"
54+
color: "44cc11"
55+
description: "Changes to CI/CD pipeline"
56+
57+
- name: "dependencies 📦"
58+
color: "cb7eed"
59+
description: "Dependency updates and maintenance"
60+
61+
- name: "discussion 💭"
62+
color: "5319e7"
63+
description: "Needs discussion or decisions"
64+
65+
- name: "security 🔒"
66+
color: "d93f0b"
67+
description: "Security-related changes or fixes"

.github/workflows/sync_labels.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Sync Labels
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- '.github/labels.yaml'
9+
workflow_dispatch:
10+
11+
permissions:
12+
issues: write
13+
pull-requests: write
14+
15+
jobs:
16+
sync:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- uses: micnncim/action-label-syncer@v1
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
with:
25+
manifest: .github/labels.yaml
26+
prune: false

Cargo.lock

+72-72
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+35-8
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,47 @@
1-
# Client Side Prover
1+
<p align="center">
2+
<img src="https://raw.githubusercontent.com/pluto/.github/main/profile/assets/assets_ios_Pluto-1024%401x.png" alt="Pluto Logo" width="50" height="50">
3+
<br>
4+
<b style="font-size: 24px;">Pluto</b>
5+
</p>
6+
<p align="center">
7+
<a href="https://t.me/pluto_xyz/1"><img src="https://img.shields.io/badge/Telegram-Group-8B5CF6?style=flat-square&logo=telegram&logoColor=white&labelColor=24292e&scale=1.5" alt="Telegram"></a>
8+
<a href="https://docs.pluto.xyz/"><img src="https://img.shields.io/badge/Docs-Pluto-8B5CF6?style=flat-square&logo=readme&logoColor=white&labelColor=24292e&scale=1.5" alt="Docs"></a>
9+
<img src="https://img.shields.io/badge/License-Apache%202.0-8B5CF6.svg?label=license&labelColor=2a2f35" alt="License">
10+
</p>
211

3-
> [!NOTE]
4-
> This repository is a fork of the original hosted at [https://github.com/microsoft/nova](https://github.com/microsoft/nova) and also forked from [https://github.com/argumentcomputer/arecibo](https://github.com/argumentcomputer/arecibo).
12+
---
513

6-
## Project Structure
7-
The repository contains several key components:
8-
- `client-side-prover-frontend`: Frontend adapters for both Noir and Circom
9-
- `client-side-prover`: Backend implementation of the client side prover
14+
# Edge
15+
> Enabling private computation on the edge.
1016
1117
## Features
1218
- Supernova NIVC folding scheme implementation
1319
- Support for both Noir and Circom circuit frameworks
1420
- Client-side proving capabilities through WebAssembly
1521
- Recursive proof generation and verification
1622

23+
## Project Structure
24+
The repository contains several key components:
25+
- `edge-frontend`: Frontend adapters for both Noir and Circom
26+
- `edge-prover`: Backend implementation of the client side prover
27+
1728
## Usage
1829
This repository and its crates are **not** production ready. Do not use them in production. No audits have been done and none are planned.
1930

20-
With that said, work has been done to make the implementation here work with an offline setup phase. Therefore, this can be used run proofs on an edge device which can later be verified by a remote server.
31+
With that said, work has been done to make the implementation here work with an offline setup phase. Therefore, this can be used run proofs on an edge device which can later be verified by a remote server.
32+
33+
## Contributing
34+
35+
We welcome contributions to our open-source projects. If you want to contribute or follow along with contributor discussions, join our main [Telegram channel](https://t.me/pluto_xyz/1) to chat about Pluto's development.
36+
37+
Our contributor guidelines can be found in our [CONTRIBUTING.md](https://github.com/pluto/.github/blob/main/profile/CONTRIBUTING.md).
38+
39+
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.
40+
41+
## License
42+
43+
This project is licensed under the Apache V2 License - see the [LICENSE](LICENSE) file for details.
44+
45+
## Acknowledgements
46+
> [!NOTE]
47+
> This repository is a fork of the original hosted at [https://github.com/microsoft/nova](https://github.com/microsoft/nova) and also forked from [https://github.com/argumentcomputer/arecibo](https://github.com/argumentcomputer/arecibo).

frontend/Cargo.toml

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
[package]
2-
name ="client-side-prover-frontend"
2+
name ="edge-frontend"
33
version="0.1.0"
44
edition="2021"
55

66
[dependencies]
7-
client-side-prover={ path="../prover" }
8-
serde ={ workspace=true }
9-
serde_json ={ workspace=true }
10-
thiserror ={ workspace=true }
11-
tracing ={ workspace=true }
12-
bellpepper-core ={ workspace=true }
13-
halo2curves ={ workspace=true }
7+
edge-prover ={ path="../prover" }
8+
serde ={ workspace=true }
9+
serde_json ={ workspace=true }
10+
thiserror ={ workspace=true }
11+
tracing ={ workspace=true }
12+
bellpepper-core={ workspace=true }
13+
halo2curves ={ workspace=true }
1414

1515
# noir
1616
acvm ={ git="https://github.com/noir-lang/noir", rev="v1.0.0-beta.2" }
1717
noirc_abi={ git="https://github.com/noir-lang/noir", rev="v1.0.0-beta.2" }
1818
ark-bn254="0.5"
1919

2020
[dev-dependencies]
21-
tracing-test ={ workspace=true }
22-
tempdir ="0.3.7"
23-
client-side-prover-frontend={ path=".", features=["demo"] }
24-
tempfile ="3.17"
25-
bincode ={ workspace=true }
21+
tracing-test ={ workspace=true }
22+
tempdir ="0.3.7"
23+
edge-frontend={ path=".", features=["demo"] }
24+
tempfile ="3.17"
25+
bincode ={ workspace=true }
2626

2727
[features]
2828
demo=[]

frontend/src/error.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ pub enum FrontendError {
2121
#[error(transparent)]
2222
Io(#[from] std::io::Error),
2323

24-
/// The error is a `client_side_prover::errors::NovaError`
24+
/// The error is a `edge_prover::errors::NovaError`
2525
#[error(transparent)]
26-
Nova(#[from] client_side_prover::errors::NovaError),
26+
Nova(#[from] edge_prover::errors::NovaError),
2727

28-
/// The error is a `client_side_prover::supernova::error::SuperNovaError`
28+
/// The error is a `edge_prover::supernova::error::SuperNovaError`
2929
#[error(transparent)]
30-
SuperNova(#[from] client_side_prover::supernova::error::SuperNovaError),
30+
SuperNova(#[from] edge_prover::supernova::error::SuperNovaError),
3131

32-
/// The error is a [`client_side_prover::fast_serde::SerdeByteError`]
32+
/// The error is a [`edge_prover::fast_serde::SerdeByteError`]
3333
#[error(transparent)]
34-
FastSerde(#[from] client_side_prover::fast_serde::SerdeByteError),
34+
FastSerde(#[from] edge_prover::fast_serde::SerdeByteError),
3535
}

0 commit comments

Comments
 (0)