Skip to content

Hats Protocol v1

Latest
Compare
Choose a tag to compare
@spengrah spengrah released this 11 Jul 19:19
· 30 commits to main since this release
4cf4170

This is the stable v1 release for Hats Protocol!

Hats Protocol v1 is a fully permissionless and immutable contract, with no upgradeability, adjustable parameters, or owner of any kind.

What's New

This newest release of Hats Protocol adds a single change: it inherits from Multicallable.sol to enable EOAs to batch multiple calls to Hats.sol into a single transaction.

This unlocks a number of new possibilities for apps to create better experiences for users, such as easier hat tree creation, forking other trees and templates, maturing a tree from testnet to mainnet, and making bulk edits to an existing tree.

No other changes have been made to the protocol. The ABI and IHats interface are otherwise exactly the same.

Other Notes

  • v1.hatsprotocol.eth has been updated to point to the new v1 contract address (see below).

Deployments

Network Address
Goerli (testnet) 0x3bc1A0Ad72417f2d411118085256fC53CBdDd137
Sepolia (testnet) 0x3bc1A0Ad72417f2d411118085256fC53CBdDd137
Holesky (testnet) 0x3bc1A0Ad72417f2d411118085256fC53CBdDd137
Ethereum (mainnet) 0x3bc1A0Ad72417f2d411118085256fC53CBdDd137
PGN 0x3bc1A0Ad72417f2d411118085256fC53CBdDd137
Polygon 0x3bc1A0Ad72417f2d411118085256fC53CBdDd137
Gnosis Chain 0x3bc1A0Ad72417f2d411118085256fC53CBdDd137
Arbitrum 0x3bc1A0Ad72417f2d411118085256fC53CBdDd137
Optimism 0x3bc1A0Ad72417f2d411118085256fC53CBdDd137
Scroll 0x3bc1A0Ad72417f2d411118085256fC53CBdDd137
Celo 0x3bc1A0Ad72417f2d411118085256fC53CBdDd137
Base 0x3bc1A0Ad72417f2d411118085256fC53CBdDd137

All deployments are made to the same address using a CREATE2 factory, with the following parameters (also viewable in the DeployHats script):

  • salt: 0x0000000000000000000000000000000000000000000000000000000000004a75
  • name: "Hats Protocol v1"
  • baseImageURI: "ipfs://bafkreiflezpk3kjz6zsv23pbvowtatnd5hmqfkdro33x5mh2azlhne3ah4"