Anti-bot (per-wallet caps)
maxPerWallet is the cap each address can mint across the lifetime of the contract. Set it low (1, 2, 3) for fair distribution; set it to 0 for unlimited.
How it works
The contract tracks mintedBy[address] -> uint256. On every mint, it checks mintedBy[msg.sender] + qty <= maxPerWallet. Bots that spin up 1,000 wallets just to mint 1,000 NFTs each still need 1,000 wallets and 1,000 separate gas payments - way more economically unattractive than letting one wallet mint 1,000.
Limits
maxPerWallet doesn't stop a determined bot operator with 10,000 funded wallets. It just raises the cost. Combine it with allowlist + reveal for serious gating.
ChatZilla lives at the top of the Help center. It knows every topic in this center and can walk you through your specific collection, wallet or transaction.