Smart contract development and security

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

A basic NFT modifiers and more…

So far in our ERC721 contract we’ve got one function ( mintOneNft ) that’s public (external) and anyone can mint. There is a difference between a public function and external but for our case at this time we just need to know it can be accessed by anyone in the outside world. Let’s add a… Continue reading A basic NFT modifiers and more…

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