# ERC20Detailed.sol file is missing?

**URL:** <https://forum.openzeppelin.com/t/erc20detailed-sol-file-is-missing/3259>\
**Category:** Contracts\
**Tags:** erc20\
**Created:** [July 3, 2020, 7:00pm UTC](https://forum.openzeppelin.com/t/erc20detailed-sol-file-is-missing/3259 "2020-07-03T19:00:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![crypto-programmer](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/crypto-programmer/32/3912_2.png) [@crypto-programmer](https://forum.openzeppelin.com/u/crypto-programmer)\
**Post date:** [July 3, 2020, 7:00pm UTC](https://forum.openzeppelin.com/t/erc20detailed-sol-file-is-missing/3259/1 "2020-07-03T19:00:54Z")

</div>

![IMG_20200703_152539_2](https://us1.discourse-cdn.com/flex022/uploads/zeppelin/original/2X/4/4b2f59274d4379231999d11eb5d71b0d4e188e44.jpeg)  
“openzeppelin-solidity” library doesn’t have ERC20Detailed.sol file but it is a dependancy for deploying smart contract on harmony blockchain. How do I install ERC20Detailed.sol and why is it not present in openzeppelin-solidity library ?  
Thanks in advance 🙂

---

<div class="post-metadata">

**Author:** ![PreciousChicken](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/preciouschicken/32/2592_2.png) [@PreciousChicken](https://forum.openzeppelin.com/u/PreciousChicken)\
**Post date:** [July 3, 2020, 8:18pm UTC](https://forum.openzeppelin.com/t/erc20detailed-sol-file-is-missing/3259/2 "2020-07-03T20:18:31Z")

</div>

It might be due to the [breaking change](https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v3.0.0) introduced in OpenZeppelin contracts v3.0.0 which removed ERC20Detailed:

> If you're using the `ERC20` or `ERC721` tokens however, you'll have to remove all references to optional extensions ( `ERC20Detailed` , `ERC721Enumerable` , etc.) - these have been included in the base contracts.

So if you really need ERC20Detailed due to a dependency, and can't just use the base ERC20, you'll have to use an earlier version of OpenZeppelin.

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [July 13, 2020, 2:39am UTC](https://forum.openzeppelin.com/t/erc20detailed-sol-file-is-missing/3259/3 "2020-07-13T02:39:59Z")

</div>

Hi @crypto-programmer,

Welcome to the community 👋

As per @PreciousChicken (🙏 @PreciousChicken) the change was made in OpenZeppelin Contracts 3.x.  
You can install OpenZeppelin Contracts 2.5 using `npm i openzeppelin-solidity@2.5.1`

If the example is from the team at Harmony, I suggest asking them to update it to use OpenZeppelin Contracts 3.x and the npm package name `@openzeppelin/contracts` (`openzeppelin-solidity` is the older name).

---

<div class="post-metadata">

**Author:** ![howardpen9](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/howardpen9/32/3018_2.png) [@howardpen9](https://forum.openzeppelin.com/u/howardpen9)\
**Post date:** [December 20, 2020, 10:31am UTC](https://forum.openzeppelin.com/t/erc20detailed-sol-file-is-missing/3259/4 "2020-12-20T10:31:16Z")

</div>

> [@PreciousChicken](#):
>
> breaking change

Thanks!!!!!!!!!!!!

solve my question ns

---

<div class="post-metadata">

**Author:** ![crypto-programmer](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/crypto-programmer/32/3912_2.png) [@crypto-programmer](https://forum.openzeppelin.com/u/crypto-programmer)\
**Post date:** [December 24, 2020, 10:21pm UTC](https://forum.openzeppelin.com/t/erc20detailed-sol-file-is-missing/3259/5 "2020-12-24T22:21:02Z")

</div>

You are right . That was it. Thank you and sorry for the late reply.🙂
