I want to create an ERC20 token that prevent a single wallet from holding more than 1%, the reason for this is to prevent holders from holding big quantities in one single wallet(they can hold in more than one wallet, it's ok).
This can be done through checking the balance of the receiver before the transaction.
But i certainly need to create some exceptions for this? Because if i want to send a certain exchange let's say 5% of the total supply, or lock 5% in a locker wallet, then i need to make exceptions for those wallets.
1- What is the best way to go through this ?
2- Is it recommended ?
3- Do you think it is safe ?
Thanks for helping