manny404 Profile picture
gamemaster @ https://t.co/ncMJOBH60o

Dec 13, 2021, 7 tweets

The @crypto_coven smart contract is a fucking work of art

etherscan.io/address/0x5180…

Right off the bat they let you know they're not fucking around with a giant ASCII masthead, latest solidity versions, and eschewing ERC721Enumerable for a much cheaper Counters approach (shiny.mirror.xyz/OUampBbIz9ebEi…)

Imagine writing logic *inside* your functions lol, look how clean these fucking modifiers are holy shit

Want use your allowlist claim spot? Just send the correct merkle proof to verify against their merkle root, the most 5Head crypto way to do allow lists (medium.com/@ItsCuzzo/usin…)

You may notice it costs 0 gas to list these on OpenSea - because the contract pre approves the OpenSea contract to save users the gas - but also includes an emergency function to remove this behavior!

and lastly, just for fun, lets throw EIP-2981 on it to have a standard for royalties data for the day when we break the clutches of OpenSea

Thank you @crypto_coven team for writing such an elegant contract, will be using it as a basis for my own NFT contracts moving forwards.

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling