Keeping security in mind is important when developing smart contracts and there are a number of different techniques and philosophies in regards to your smart contract development and security. Revisiting the NftFactory I was discussing earlier we’re deploying a new ERC721 from an address that isn’t verified so far. This could lead to anyone using… Continue reading Smart contract development and security
Tag: erc721
A basic Nft – ERC721
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
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