# How to Mint ICRC2 Tokens?

**URL:** <https://forum.dfinity.org/t/how-to-mint-icrc2-tokens/29631>\
**Category:** Developers\
**Created:** [April 12, 2024, 3:28pm UTC](https://forum.dfinity.org/t/how-to-mint-icrc2-tokens/29631 "2024-04-12T15:28:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![evanmcfarland](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/evanmcfarland/32/1744_2.png) [@evanmcfarland](https://forum.dfinity.org/u/evanmcfarland)\
**Post date:** [April 12, 2024, 3:28pm UTC](https://forum.dfinity.org/t/how-to-mint-icrc2-tokens/29631/1 "2024-04-12T15:28:06Z")

</div>

I’m testing/learning about ICRC2 tokens. I understand there’s no `mint()` function, but you mint new tokens using `icrc2_transfer_from()` when called by the minting account.

My result as shown always burns and never creates tokens. If using a principal other than the ‘minter’ for ‘from’ or ‘to’, canister becomes `trapped: the minter account cannot delegate mints`

So how do I mint tokens?

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/3/7/37565558d6f52af31bdec1a12fdb262055547e07.png)

---

<div class="post-metadata">

**Author:** ![sea-snake](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/sea-snake/32/7243_2.png) [@sea-snake](https://forum.dfinity.org/u/sea-snake)\
**Post date:** [April 12, 2024, 4:40pm UTC](https://forum.dfinity.org/t/how-to-mint-icrc2-tokens/29631/2 "2024-04-12T16:40:17Z")

</div>

For minting, use the ICRC-1 transfer method instead of the ICRC-2 transfer from method.

The ICRC-2 method is meant for transferring tye allowance given by another account. The minter account cannot give an allowance to another account.

Just to clarify, ICRC-2 is an extension of ICRC-1, not a newer version or replacement. Similarly there’s also the ICRC-3 extension for ICRC-1 for history blocks and other extensions for ICRC-1 that adds additional methods on top of ICRC-1.

---

<div class="post-metadata">

**Author:** ![evanmcfarland](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/evanmcfarland/32/1744_2.png) [@evanmcfarland](https://forum.dfinity.org/u/evanmcfarland)\
**Post date:** [April 12, 2024, 5:49pm UTC](https://forum.dfinity.org/t/how-to-mint-icrc2-tokens/29631/3 "2024-04-12T17:49:36Z")

</div>

Sorry, but how I’m using it here also acts like a burn action. Any idea how I mint?

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/f/f/ff6884370b88d067f585ba0ac6130ede574ede16.png)

---

<div class="post-metadata">

**Author:** ![Dylan](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/dylan/32/18010_2.png) [@Dylan](https://forum.dfinity.org/u/Dylan)\
**Post date:** [April 12, 2024, 9:06pm UTC](https://forum.dfinity.org/t/how-to-mint-icrc2-tokens/29631/4 "2024-04-12T21:06:35Z")

</div>

This is not my area of expertise, but in order to perform a mint, the minting account principal would need to be the caller of `icrc1_transfer`, and the `to` field would need to be set to an account which is not the minting account, so that you’re transferring from the minting account to a different account.

---

<div class="post-metadata">

**Author:** ![evanmcfarland](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/evanmcfarland/32/1744_2.png) [@evanmcfarland](https://forum.dfinity.org/u/evanmcfarland)\
**Post date:** [April 13, 2024, 2:17pm UTC](https://forum.dfinity.org/t/how-to-mint-icrc2-tokens/29631/5 "2024-04-13T14:17:28Z")

</div>

Working command. Thanks:

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/4/3/4358e14a482a53fc3ee7b02bb256bb7221290b80.png)

---

<div class="post-metadata">

**Author:** ![Janus5G](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/janus5g/32/28569_2.png) [@Janus5G](https://forum.dfinity.org/u/Janus5G)\
**Post date:** [July 21, 2025, 7:58pm UTC](https://forum.dfinity.org/t/how-to-mint-icrc2-tokens/29631/6 "2025-07-21T19:58:31Z")

</div>

[https://internetcomputer.org/docs/tutorials/developer-liftoff/level-5/5.4-NFT-tutorial](https://internetcomputer.org/docs/tutorials/developer-liftoff/level-5/5.4-NFT-tutorial)

Much more details on the subject
