Comment on page
🔐
Hat-Gated Authorities
Hats + Gates --> Authorities
Hats are ERC1155 tokens, so they can be plugged into token gates to grant the wearers of that hat specific authorities, as long as 1) the wearer’s address is still eligible to wear the hat, and 2) the hat is still active.
You can think of it this way: token gates have two parts, the token and the gate. Hats provides the token, which gets plugged into the necessary gates, to give the hat wearer access to the proper authorities.

For general information on types of authorities and how to connect authorities to specific hats, see the guide for Connecting Hats With Authorities.
To connect a hat to a token-gate, you will need to add an NFT (ERC-1155) requirement. Then, you'll need to enter two details:
- 1.The Hats Protocol contract address for the chain you're using (see below), and
- 2.The Token ID (sometimes called a Custom ID) for the appropriate hat. This Token ID will be the same for all wearers of a single hat.
See below for these details.
To connect specific hats to token gates, you will need the Hats Protocol contract address as well as the specific token IDs for the relevant hats you want to associated with that token gate.
See the subpages within this section for detailed guides for connecting specific authorities to hats:
Last modified 3mo ago