How to create a function for minting tokens?

Does your minter account have a subaccount? If not, you can leave that null.

You can check using the command:

dfx canister call name_of_your_icrc1_ledger_canister icrc1_minting_account

1 Like