Everyone loves an NFT and they all want one, so that’s why I’m using this contract type for my example. An ERC721 Nft token ( Non-Fungible-Token) needs a token id. You can’t live without that. We’ll just use the Counter class supplied to us by the awesome people at Open Zeppelin. Import the library and… Continue reading A basic Nft – ERC721
Tag: nft
Factory Design Pattern with Solidity
The Factory design pattern is the most widely used design pattern from the popular 23 “Gang of Four” design patterns. The pattern designates that you define an interface or an abstract class for creating an object but you let the subclasses determine what class will be instantiated. The logic that creates the object isn’t exposed… Continue reading Factory Design Pattern with Solidity