# ERC20PresetMinterPauser is no longer available?

**URL:** <https://forum.openzeppelin.com/t/erc20presetminterpauser-is-no-longer-available/42239>\
**Category:** Contracts\
**Tags:** erc20\
**Created:** [November 19, 2024, 9:19pm UTC](https://forum.openzeppelin.com/t/erc20presetminterpauser-is-no-longer-available/42239 "2024-11-19T21:19:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmartinez34](https://avatars.discourse-cdn.com/v4/letter/j/ea5d25/32.png) [@jmartinez34](https://forum.openzeppelin.com/u/jmartinez34)\
**Post date:** [November 19, 2024, 9:19pm UTC](https://forum.openzeppelin.com/t/erc20presetminterpauser-is-no-longer-available/42239/1 "2024-11-19T21:19:01Z")

</div>

I am following the OpenZeppelin documentation and I found that ERC20 contract had a preset called ERC20PresetMinterPauser but when I try to work with it importing it like: import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol"; it looks that it is no longer available.

I looked thorught the github repository but i could not find something similtar to that preset so i was wondering if it is no longer supported? If that is the case, what alternative could be useful to replace that preset? I am trying to implement a stablecoin for my local network.

Thanks

---

<div class="post-metadata">

**Author:** ![Skyge](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/skyge/32/343_2.png) [@Skyge](https://forum.openzeppelin.com/u/Skyge)\
**Post date:** [November 21, 2024, 12:58am UTC](https://forum.openzeppelin.com/t/erc20presetminterpauser-is-no-longer-available/42239/2 "2024-11-21T00:58:36Z")

</div>

Hi, welcome to the community! 👋

`ERC20PresetMinterPauser.sol` has been remove after `OpenZeppelin/openzeppelin-contracts/@0.5.x`, there is a PR about this: [https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3637](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3637)  
I think you can use [OpenZeppelin Contracts Wizard](https://wizard.openzeppelin.com/) to do this at now, select the `Mintable` option like this:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/zeppelin/original/3X/5/5/556c1ade80e01ba4927888966ac7d0b8acb70684.png)

And you can also use the version `0.4.x` to use `ERC20PresetMinterPauser.sol` contract
