Eligibility & Accountability Criteria
Requirements for Wearers
Last updated
Requirements for Wearers
Last updated
The that can be accessed via a hat can be granted and revoked by designated individual or group admins, as well as based on a wide range of automated eligibility and accountability criteria using Hats Modules.
are programmable extensions for roles. Modules can be connected to hats to expand their functionality, such as enabling automatic granting and revocation of hats (and their associated permissions) based on specific conditions.
Any combination of permissions and authorities can be granted or revoked automatically based on a customizable set of criteria, including:
Tokens, NFTs, and attestations, including ERC20 token balance, ERC721 NFTs, ERC1155 NFT tokenIDs, and EAS attestations
Elections and allowlists, including election results from JokeRace, Snapshot, or Tally, automatic term limits, and manually-created allowlists
Achievements and reputation, like badges, onchain points, Colinks, or Gitcoin passport score
Prerequisite actions, like staking, signing an agreement, holding other roles, or being a subscriber
And more: combine multiple criteria with and/or logic, introduce AI agents, or create granular onchain or offchain triggers
A hatβs eligibility module is an address that determines which addresses are eligible to wear that hat, and can revoke the hat the instant the wearer is no longer eligible.
See the subpages within this section for detailed guides for specific eligibility modules you can currently use with Hats:
Onchain signature of an agreement
Gitcoin Passport score
Attestations
Combine multiple criteria!
Modules customize, automate, and extend the behavior of Hats Protocol, and can also serve as adapters or integration points with other protocols and applications.
In a sense, modules are the lifeblood of Hats Protocol. The design space is wide open, ready to be filled with all the possible building blocks of human organization and coordination.
Anyone can create their own eligibility or accountability criteria, or tap into the Hats ecosystem of βprogrammable extensions for rolesβbuilt permissionlessly by community developers and distributed via the , which is curated by via the . Likewise, any app can tap into the same infrastructure to offer the fast-growing suite of Hats Modules options to their end-users.
For more details on Hats Modules, including what they can unlock and how builders can create new modules, . You can also for a general guide about Eligibility Modules.
Eligibility modules can also be combined with claimable hats to enable addresses to claim and wear a given hat only if they fulfill specific eligibility criteria. For more information, check out the guide .
Request a new module or
For more technical details on how Hats eligibility modules work, see the page within the "For Developers" section of these docs.
There are two primary ways for developers to work with Hats Modules. Whether you're or using the to interact with or build applications for existing modules, we have a number of developer tools to make your job easier. See the page below to get started.