blockyard pfp
blockyard

@blockyard

Day 1: Setting Up the NFT Engine Smart Contract Archticture ✅ Tech decision: ERC-1155 vs ERC-721 Went with ERC-1155. Why? Each token ID is a configurable NFT with its own metadata, supply, and pricing. One contract managing all creator moments. Built the NFT engine using OpenZeppelin's audited libraries (ERC-1155). Core functions Implemented: createPhoto() - Creator entry point - Upload metadata URI - Set price & max supply - Tag collaborators mintPhoto() - Follower entry point - Instant creator payment on mint - Followers own the moment batchMintPhotos() - Mint multiple moments in one tx - Gas optimization for collectors ERC-1155 Standard Information source: https://eips.ethereum.org/EIPS/eip-1155
1 reply
1 recast
2 reactions