Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Add zk_token_proof_program module to sdk #35339

Closed
wants to merge 1 commit into from
Closed
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
1 change: 1 addition & 0 deletions sdk/program/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ pub mod system_program;
pub mod sysvar;
pub mod vote;
pub mod wasm;
pub mod zk_token_proof_program;

#[deprecated(
since = "1.17.0",
Expand Down
9 changes: 9 additions & 0 deletions sdk/program/src/zk_token_proof_program.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//! The [ZK Token Proof Program][np].
//!
//! [np]: https://docs.solanalabs.com/runtime/zk-token-proof
//!
//! Documentation can be found in [`solana-zk-token-sdk`].
//!
//! [`solana-zk-token-sdk`]: https://docs.rs/solana-zk-token-sdk/latest/solana_zk_token_sdk

crate::declare_id!("ZkTokenProof1111111111111111111111111111111");
2 changes: 1 addition & 1 deletion sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub use solana_program::{
program_pack, rent, sanitize, sdk_ids, secp256k1_program, secp256k1_recover, serde_varint,
serialize_utils, short_vec, slot_hashes, slot_history, stable_layout, stake, stake_history,
syscalls, system_instruction, system_program, sysvar, unchecked_div_by_const, vote,
wasm_bindgen,
wasm_bindgen, zk_token_proof_program,
};

pub mod account;
Expand Down
Loading