Skip to content

Commit

Permalink
[zk-sdk] Create zk-sdk crate (#988)
Browse files Browse the repository at this point in the history
create `zk-sdk` crate
  • Loading branch information
samkim-crypto authored Apr 23, 2024
1 parent 175e152 commit bf041ce
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
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 @@ -389,6 +390,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 @@ -474,6 +476,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.

0 comments on commit bf041ce

Please sign in to comment.