create_code

Function create_code 

Source
pub fn create_code(
    signer: Pubkey,
    code_hash: [u8; 32],
    authority: Pubkey,
) -> Instruction
Expand description

Creates a Code account linking an access code to a specific wallet (authority). Admin-only instruction. Accounts: signer (admin), config, code, system_program