Popular Contract Templates
This repository links to templates of popular smart contracts that I curate. Each contract is unique and cover different aspect and mechanism of the smart contract. It includes full commentary explaining what each function does, test script and deployment script using hardhat. There is also a detailed deep dive breakdown for each contract.
I will publish new template and breakdown every week.
Templates
#1 - CoolCatsNFT
A well written and gas efficient contract that you can use to deploy basic NFTs.
Published 12 October 2021
#2 - SuperSea
Use the smart contract to create NFT membership and subscriptions for your SaaS.
Published 19 October 2021
#3 - Loot
A way to create on-chain NFT without needing to use IPFS or external links to host images.
Published 26 October 2021
#4 - AltNouns
Create infinite derivative NFTs through inter contract calls and do dope SVG manipulation.
Published 2 November 2021
#5 - Adventure Gold
Create ERC20 tokens based on NFT ownership to airdrop to holders.
Published 9 November 2021
#6 - Corruption(s*)
NFT by @dhof that gains insight. Insights stabilize over time and destabilize when moved.
Published 14 November 2021
#7 - ConstitutionDAO
ConstitutionDAO raised 11,000 eth in 4 days through GnosisSafe Multisig. See how MultiSig works.
Published 18 November 2021
#8 - ChainRunners
ChainRunners created a 32x32 pixel art all stored on chain. See how on chain pixel generation works.
Published 24 November 2021
#9 - Wolf Game
Wolf Game is a risk-based game playable entirely on chain. See how on chain risk-based game works.
Published 2 December 2021
#10 - Curious Addys
Curious Addys is an NFT with 100% refund mechanism. See how to implement refunds into your contract.
Published 8 December 2021
#11 - AlphaGirlClub
AlphaGirlClub took the extra step to make minting gas efficient. In a good day, minting can cost just $8 in gas! See how you can reduce gas for your own project.
Published 15 December 2021
#12 - AdidasOriginals
Someone was able to mint 300 AdidasOriginals NFTs bypassing the 2 NFTs per walelt limit. This is my best guess of how the contract looks.
Published 18 December 2021
#13 - WAGMIGOTCHI
The blockchain's pet. Created by @dhof, WAGMIGOTCHI is a co-op Blockchain Game where players come together to help caretake WAGMIGOTCHI.
Published 23 December 2021
#14 - $SOS
How did $SOS whitelisted the entire OpenSea transactions? See how the biggest airdrop ever was done.
Published 5 Jan 2022
#15 - Solana Candy Machine v2
Solana breakdown! What's the difference between Candy Machine v1 and v2?
Published 10 Jan 2022
#16 - Space Doodles
Space Doodles wrapped and transform the original Doodles NFT! See how wrapping works.
Published 10 Jan 2022
Who am I?
My name is Marcel and I'm diving into the world of web3. In my quest to learn web3, a learning method I found effective is to read and breakdown popular smart contracts. This collecion is a byproduct of my learning.
You can find my twitter @marcelc63
You can tip me eth at https://tipeth.xyz/marcelc63.eth