All Questions
Tagged with createminttoinstruction anchor-lang
1 question with no upvoted or accepted answers
0
votes
0
answers
51
views
Calling mint_to for second times error: ConstraintMintMintAuthority. Error Number: 2016. Error Message: A mint mint authority constraint was violated
Initialize and Mint token functions:
pub fn init_token(ctx: Context<InitToken>, metadata: InitTokenParams) -> Result<()> {
let authority = &ctx.accounts.payer;
let ...