Skip to content

Latest commit

 

History

History

hats-protocol-for-developers

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

👷 Hats Protocol Overview

Put on your hardhats and lets get into the nitty gritty of Hats Protocol!

What are Hats?

Hats are roles. In Hats Protocol, roles are rich, substantive, objectives with multiple dimensions:

  • Responsibility
  • Authorities/Rights/Powers
  • Accountability
  • Clarity & context
  • Compensation & incentives

These roles, modeled as hats, are embodied onchain in Hats.sol storage, and represented as non-transferable ERC1155-similar tokens.

Every hat is connected to at least one other hat in a structure that we call a Hats tree.

The bulk of the protocol logic is devoted to defining how hats are created, issued, revoked, and managed. It also creates several integration points and hooks for developers to extend and customize the behavior of particular hats.

Hats Protocol Functionality

See each of the following subpages for more details:

{% content-ref url="hat-properties.md" %} hat-properties.md {% endcontent-ref %}

{% content-ref url="wearing-a-hat.md" %} wearing-a-hat.md {% endcontent-ref %}

{% content-ref url="hat-admins-and-hatter-contracts.md" %} hat-admins-and-hatter-contracts.md {% endcontent-ref %}

{% content-ref url="hats-trees.md" %} hats-trees.md {% endcontent-ref %}

{% content-ref url="hat-ids.md" %} hat-ids.md {% endcontent-ref %}

{% content-ref url="eligibility-modules.md" %} eligibility-modules.md {% endcontent-ref %}

{% content-ref url="toggle-modules.md" %} toggle-modules.md {% endcontent-ref %}

{% content-ref url="toggle-modules.md" %} toggle-modules.md {% endcontent-ref %}

{% content-ref url="hat-mutability-and-editing.md" %} hat-mutability-and-editing.md {% endcontent-ref %}

{% content-ref url="creating-hats.md" %} creating-hats.md {% endcontent-ref %}

{% content-ref url="minting-hats.md" %} minting-hats.md {% endcontent-ref %}

{% content-ref url="transfering-hats.md" %} transfering-hats.md {% endcontent-ref %}

{% content-ref url="renouncing-hats.md" %} renouncing-hats.md {% endcontent-ref %}

{% content-ref url="linking-hats-trees.md" %} linking-hats-trees.md {% endcontent-ref %}

{% content-ref url="batch-actions.md" %} batch-actions.md {% endcontent-ref %}

{% content-ref url="hat-image-uris.md" %} hat-image-uris.md {% endcontent-ref %}

{% content-ref url="erc1155-compatibility.md" %} erc1155-compatibility.md {% endcontent-ref %}