handsome pfp
handsome
@wizard
๐Ÿ”ฅ Day 1 of #30daysweb3security @Web3SecurityDAO Follow me on my 30-day journey in Web3 security! Today, i learnt about the dangers of using _safeMint over _mint ๐Ÿงต
2 replies
0 recast
0 reaction

handsome pfp
handsome
@wizard
So how? Implement a reentrancy guard if using _safeMint; or don't use _safeMint at all (if you don't expect contracts to be minting) and even save some gas with _mint. ๐Ÿ”ฅ
0 reply
0 recast
0 reaction