Skip to content

Commit

Permalink
docs: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
0xWOLAND committed Sep 26, 2024
1 parent cebfe00 commit 13d963c
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 17 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Solana Verifier

A Groth16 verifier implementation for Solana using BN254 precompiles. This crate verifies Groth16 proofs generated with SP1, leveraging Solana's BN254 precompiles for efficient cryptographic operations.

## Features

- **Groth16 Proof Verification**: Implements the Groth16 protocol for zero-knowledge proof verification.
- **Solana BN254 Precompiles**: Leverages Solana's native BN254 precompiles for optimized performance.
- **Easy Integration**: Seamlessly integrates with existing Solana programs and infrastructure.
- **Extensible**: Built with modularity in mind, allowing for future enhancements and integrations.

## Installation

Add `solana-verifier` to your `Cargo.toml`:

```toml
[dependencies]
solana-verifier = { git = "https://github.com/0xWOLAND/groth16-verifier" }
```

32 changes: 16 additions & 16 deletions example/script/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/script/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "recursive-script"
name = "example-usage"
authors = ["Bhargav Annem"]
version = "0.1.0"
edition = "2021"
Expand Down

0 comments on commit 13d963c

Please sign in to comment.