# Add commission to ERC20 transfer

**URL:** <https://forum.openzeppelin.com/t/add-commission-to-erc20-transfer/4456>\
**Category:** Contracts\
**Created:** [November 7, 2020, 6:25pm UTC](https://forum.openzeppelin.com/t/add-commission-to-erc20-transfer/4456 "2020-11-07T18:25:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![franco\_villa\_santana](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/franco_villa_santana/32/3269_2.png) [@franco\_villa\_santana](https://forum.openzeppelin.com/u/franco_villa_santana)\
**Post date:** [November 7, 2020, 6:25pm UTC](https://forum.openzeppelin.com/t/add-commission-to-erc20-transfer/4456/1 "2020-11-07T18:25:23Z")

</div>

Can I in a token for example in the \_transfer function add a commission of 1% of the transfer?

Does that give some kind of problem?

---

<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 8, 2020, 5:08am UTC](https://forum.openzeppelin.com/t/add-commission-to-erc20-transfer/4456/2 "2020-11-08T05:08:03Z")

</div>

Yeah, of course, you can. And at the same time, it will bring some issues,

> ⚠ If you create a fee on transfer or deflationary token (burn a percentage on transfer) this can cause issues with use in other contracts such as: [https://medium.com/balancer-protocol/incident-with-non-standard-erc20-deflationary-tokens-95a0f6d46dea](https://medium.com/balancer-protocol/incident-with-non-standard-erc20-deflationary-tokens-95a0f6d46dea)

> Any solution should be appropriately tested (including testing with services that you want to use) and appropriately audited.

> I also suggest looking at [Points to consider when creating a fungible token (ERC20, ERC777)](https://forum.openzeppelin.com/t/points-to-consider-when-creating-a-fungible-token-erc20-erc777/2915).

_Thanks for @abcoathup_
