# Token-gating with ERC-20

**URL:** <https://forum.decentraland.org/t/token-gating-with-erc-20/21074>\
**Category:** Questions\
**Created:** [October 29, 2023, 11:28pm UTC](https://forum.decentraland.org/t/token-gating-with-erc-20/21074 "2023-10-29T23:28:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tlogs.eth](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@Tlogs.eth](https://forum.decentraland.org/u/Tlogs.eth)\
**Post date:** [October 29, 2023, 11:28pm UTC](https://forum.decentraland.org/t/token-gating-with-erc-20/21074/1 "2023-10-29T23:28:16Z")

</div>

Hey everyone! Does anyone know of a solution for token-gating an area of your LAND with an ER-C20 token? I’m looking to create a ‘club house’ for token holders. Bonus points if you can set a token quantity for access. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![dogman](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.decentraland.org/dogman/32/28086_2.png) [@dogman](https://forum.decentraland.org/u/dogman)\
**Post date:** [October 30, 2023, 12:04am UTC](https://forum.decentraland.org/t/token-gating-with-erc-20/21074/2 "2023-10-30T00:04:36Z")

</div>

> **[GitHub - dogmandcl/tokenGateSDK7: token gate for Decentraland's SDK7](https://github.com/dogmandcl/tokenGateSDK7)**
>
> token gate for Decentraland's SDK7. Contribute to dogmandcl/tokenGateSDK7 development by creating an account on GitHub.

this should work Change the const wearablesToCheck to the tokens of your choice, Then in the checkWearables() function check for the token using userData.data

---

<div class="post-metadata">

**Author:** ![Tlogs.eth](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@Tlogs.eth](https://forum.decentraland.org/u/Tlogs.eth)\
**Post date:** [October 30, 2023, 12:31am UTC](https://forum.decentraland.org/t/token-gating-with-erc-20/21074/3 "2023-10-30T00:31:29Z")

</div>

Thank you @dogman! That makes perfect sense. I’ll invite you to the first meta-rager we throw at the ol estate 🤙🏼
