Required to include anchor-spl/idl-build to idl-build list
Manual import required for anchor_spl
Required to import dependencies as shown:
use anchor_spl::{
token::{transfer as transfer_spl, Transfer as TransferSPL, mint_to, Mint, MintTo, Token, TokenAccount},
associated_token::AssociatedToken,
};
Missing mutable inside account
Required to add "mut" inside #[account()] --> #[account(mut)] for:
to_account & mint_account under generated MintContext
Thank you for your time on reviewing my code! I would like to notify you that I've completed the aforementioned steps and wish to proceed with another review. Thanks!
Minor errors with mapping from Poseidon to Rust
Manual imported required for cargo.toml
anchor-spl/idl-build
to idl-build listManual import required for anchor_spl
Missing mutable inside account
#[account()]
--> #[account(mut)] for:to_account
&mint_account
under generatedMintContext