EatTheBlocks Forum

How can I code a max purchase amount to minimize whales?

I am looking to create a token launch and want to cap the number of tokens that can be bought at any one time. I want to minimize sniper bot buys and whales. Can anyone help me with the code in solidity on this?