Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zk-sdk] Create zk-sdk crate #988

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ members = [
"watchtower",
"wen-restart",
"zk-keygen",
"zk-sdk",
"zk-token-sdk",
]

Expand Down Expand Up @@ -390,6 +391,7 @@ solana-vote = { path = "vote", version = "=2.0.0" }
solana-vote-program = { path = "programs/vote", version = "=2.0.0" }
solana-wen-restart = { path = "wen-restart", version = "=2.0.0" }
solana-zk-keygen = { path = "zk-keygen", version = "=2.0.0" }
solana-zk-sdk = { path = "zk-sdk", version = "=2.0.0" }
solana-zk-token-proof-program = { path = "programs/zk-token-proof", version = "=2.0.0" }
solana-zk-token-sdk = { path = "zk-token-sdk", version = "=2.0.0" }
solana_rbpf = "=0.8.0"
Expand Down Expand Up @@ -475,6 +477,7 @@ crossbeam-epoch = { git = "https://github.com/solana-labs/crossbeam", rev = "fd2
# There is a similar override in `programs/sbf/Cargo.toml`. Please keep both
# comments and the overrides in sync.
solana-program = { path = "sdk/program" }
solana-zk-sdk = { path = "zk-sdk" }
solana-zk-token-sdk = { path = "zk-token-sdk" }
#
# === zeroize versioning issues ===
Expand Down
17 changes: 17 additions & 0 deletions zk-sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "solana-zk-sdk"
description = "Solana ZK SDK"
documentation = "https://docs.rs/solana-zk-sdk"
version = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
edition = { workspace = true }

[dependencies]

[dev-dependencies]

[lib]
crate-type = ["cdylib", "rlib"]
2 changes: 2 additions & 0 deletions zk-sdk/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
//! The `solana-zk-sdk` crate contains tools to create and verify zero-knowledge proofs on
//! encrypted data.
Loading