# How staking is done

**URL:** <https://forum.openzeppelin.com/t/how-staking-is-done/15970>\
**Category:** Smart Contracts\
**Tags:** erc20, bep20\
**Created:** [September 22, 2021, 6:35pm UTC](https://forum.openzeppelin.com/t/how-staking-is-done/15970 "2021-09-22T18:35:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anoop\_sagar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/anoop_sagar/32/9035_2.png) [@Anoop\_sagar](https://forum.openzeppelin.com/u/Anoop_sagar)\
**Post date:** [September 22, 2021, 6:35pm UTC](https://forum.openzeppelin.com/t/how-staking-is-done/15970/1 "2021-09-22T18:35:34Z")

</div>

How staking tokens are made ?  
How staking is done bep20 smart contracts  
Do we need another contract to add a staking feature  
Or it could be done in a single contract.  
Please let me know.

---

<div class="post-metadata">

**Author:** ![STYJ](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@STYJ](https://forum.openzeppelin.com/u/STYJ)\
**Post date:** [September 23, 2021, 5:22am UTC](https://forum.openzeppelin.com/t/how-staking-is-done/15970/2 "2021-09-23T05:22:47Z")

</div>

Please search on google for popular projects that use staking and study their contracts instead of spamming the forum with so many threads.
