Skip to content

Commit

Permalink
add zk_token_proof_program module
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry committed Feb 27, 2024
1 parent 1fa7b7d commit c8cb15f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
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

0 comments on commit c8cb15f

Please sign in to comment.