Crate shadow_nft_common

Crate shadow_nft_common 

Source

Re-exports§

pub use array_from_fn::*;
pub use payer_pda::*;
pub use program_ids::*;

Modules§

array_from_fn
Unfortunately… I used core::array::from_fn which, although is stable on stable Rust, is not stable with cargo-build-sbf that ships with solana 1.14.18. So, this library will build in stable Rust. Solana 1.16 ships with a rust compiler that stabilizes, but until 1.16 is live and compatible with anchor, we are left to use this alternative.
payer_pda
program_ids
The purpose of this module is to remove a circular depenedency between the minter and standard program crates. The minter program executes a cpi into the standard program, and the standard program verifies that a minter program derived address is a signer.