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.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with manny404

manny404 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(