Macro create_with_seed

Source
create_with_seed!() { /* proc-macro */ }
Expand description

Create a Pubkey with Pubkey::create_with_seed.

Example:

// args: (base, seed, owner)
sanctum_macros::create_with_seed!(
    "9BoN4yBYwH63LFM9fDamaHK62YjM56hWYZqok7MnAakJ",
    "seed",
    "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
);