You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,7 @@
2
2
3
3
[![Telegram Chat][tg-badge]][tg-url]
4
4
5
-
6
-

5
+

7
6
8
7
SP1 is a performant, 100% open-source, contributor-friendly zero-knowledge virtual machine (zkVM) that can prove the execution of arbitrary Rust (or any LLVM-compiled language) programs. SP1 democratizes access to ZKPs by allowing developers to use programmable truth with popular programming languages.
9
8
@@ -18,9 +17,6 @@ SP1 is inspired by the open-source software movement and takes a collaborative a
18
17
19
18
## For Developers: Build with SP1
20
19
21
-
**Note that SP1 is still in alpha and is not yet ready for production use.**
22
-
23
-
24
20
Today, developers can write programs, including complex, large programs like a ZK Tendermint light client, in Rust (with std support), generate proofs and verify them. Most Rust crates should be supported and can be used seamlessly by your program. Example programs can be found in the [examples](https://github.com/succinctlabs/sp1/tree/main/examples) folder.
25
21
26
22
To get started, make sure you have [Rust](https://www.rust-lang.org/tools/install) installed. Then follow the [installation](https://succinctlabs.github.io/sp1/getting-started/install.html) guide in the SP1 book and read the [getting started](https://succinctlabs.github.io/sp1/getting-started/quickstart.html) section.
@@ -33,12 +29,14 @@ Open-source is a core part of SP1's ethos and key to its advantages. We wish to
33
29
34
30
Find a list of [good first issues](https://github.com/succinctlabs/sp1/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22+) in the open issues of this repo. We are always looking for contributors interested in tasks big and small, including minor chores across the codebase, optimizing performance, adding precompiles for commonly used cryptographic operations, adding documentation, creating new example programs and more. Please reach out in the Telegram chat if interested!
35
31
36
-
37
32
## Roadmap
38
33
39
34
Today, SP1 can generate and verify proofs for Rust programs that have been compiled to RISC-V. SP1 supports proving of programs of arbitrary length by using a unique "shared challenges" argument that allows the prover to shard a long computation into small shards, and then generate a global proof that these shards are properly connected together.
40
35
41
-
The main priorities in the next few months are performance optimizations, getting the core zkVM constraint logic audited, as well as wrapping the SP1 STARK proof into a SNARK proof that is cheaply verifiable in the EVM (by adapting similar [previous work](https://github.com/succinctlabs/gnark-plonky2-verifier) done by the Succinct Team).
36
+
The main priorities in the next few months are performance optimizations, getting the core zkVM
37
+
constraint logic audited, as well as wrapping the SP1 STARK proof into a SNARK proof that is cheaply
38
+
verifiable in the EVM (by adapting similar [previous
39
+
work](https://github.com/succinctlabs/gnark-plonky2-verifier) done by the Succinct Team).
42
40
43
41
## Acknowledgements
44
42
@@ -48,6 +46,11 @@ We would like to acknowledge the projects below whose previous work has been ins
48
46
-[Valida](https://github.com/valida-xyz/valida): The SP1 cross-table lookup architecture, prover, borrow macro, and chip design are inspired by Valida.
49
47
-[RISC0](https://github.com/risc0/risc0): The SP1 Rust toolchain and install/build scripts for the toolchain borrow code from RISC0.
50
48
49
+
## Security
50
+
51
+
SP1 has undergone audits from [Veridise](https://www.veridise.com/), [Cantina](https://cantina.xyz/),
52
+
and [KALOS](https://kalos.xyz/). The audit reports are available [here](./audits).
53
+
51
54
## Tips
52
55
53
56
We recommend you install the [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) extension.
Copy file name to clipboardExpand all lines: book/generating-proofs/advanced.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ RUSTFLAGS='-C target-cpu=native' cargo run --release
48
48
Currently there is support for AVX512 and NEON SIMD instructions. For NEON, you must also enable the `sp1-sdk` feature `neon` in your script crate's `Cargo.toml` file.
49
49
50
50
```toml
51
-
sp1-sdk = { git = "https://github.com/succinctlabs/sp1", features = ["neon"] }
51
+
sp1-sdk = { version = "1.0.1", features = ["neon"] }
Copy file name to clipboardExpand all lines: book/onchain-verification/contract-addresses.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
When using SP1, we recommend using our deployed verifiers. Each contract is a [SP1VerifierGateway](https://github.com/succinctlabs/sp1-contracts/blob/main/contracts/src/ISP1VerifierGateway.sol) which can automatically routes your SP1 proof to the correct verifier based on the prover version.
| 42161 | Arbitrum One |[0x3B6041173B80E77f038f3F2C0f9744f04837185e](https://arbiscan.io/address/0x3B6041173B80E77f038f3F2C0f9744f04837185e)|
@@ -14,7 +14,7 @@ When using SP1, we recommend using our deployed verifiers. Each contract is a [S
14
14
| 8453 | Base |[0x3B6041173B80E77f038f3F2C0f9744f04837185e](https://basescan.org/address/0x3B6041173B80E77f038f3F2C0f9744f04837185e)|
15
15
| 84532 | Base Sepolia |[0x3B6041173B80E77f038f3F2C0f9744f04837185e](https://sepolia.basescan.org/address/0x3B6041173B80E77f038f3F2C0f9744f04837185e)|
16
16
17
-
**Currently officially supported versions of SP1 are v1.0.7 and v1.0.8.** If you'd like official support for a verifier on a different chain, please ask in the [SP1 Telegram](https://t.me/succinct_sp1).
17
+
**Currently officially supported version of SP1 is v1.0.1.** If you'd like official support for a verifier on a different chain, please ask in the [SP1 Telegram](https://t.me/succinct_sp1).
Copy file name to clipboardExpand all lines: book/onchain-verification/getting-started.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,5 @@ You can run the above script with `RUST_LOG=info cargo run --bin plonk_bn254 --r
27
27
If you would like to run the PLONK prover directly without Docker, you must have Go 1.22 installed and enable the `native-plonk` feature in `sp1-sdk`. This path is not recommended and may require additional native dependencies.
28
28
29
29
```toml
30
-
sp1-sdk = { features = ["native-plonk"] }
30
+
sp1-sdk = { version = "1.0.1", features = ["native-plonk"] }
0 commit comments