Add non-fungible token program (#7007)
* Add non-fungible token program * Remove issuer and id from state * Boot NftInstruction and NftState * Rename NFT to Ownable Maybe this should be "Owned" to avoid confusion with an Ownable trait? * Rename directory * Delete unreachable branch * Don't use copy_from_slice - need an error, not a panic. * Rename contract_pubkey to account_pubkey
This commit is contained in:
12
programs/ownable_api/src/lib.rs
Normal file
12
programs/ownable_api/src/lib.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
pub mod ownable_instruction;
|
||||
pub mod ownable_processor;
|
||||
|
||||
const OWNABLE_PROGRAM_ID: [u8; 32] = [
|
||||
12, 6, 169, 236, 232, 53, 216, 159, 221, 186, 8, 8, 33, 45, 166, 249, 243, 55, 177, 184, 195,
|
||||
132, 141, 34, 63, 108, 219, 80, 0, 0, 0, 0,
|
||||
];
|
||||
|
||||
solana_sdk::solana_name_id!(
|
||||
OWNABLE_PROGRAM_ID,
|
||||
"ownab1e111111111111111111111111111111111111"
|
||||
);
|
Reference in New Issue
Block a user