On a project I’m working on they want to manually enter hundreds of addresses into a whitelist contract.
What would be the best way to do this barbarity?
Putting an array by parameter would be very expensive in gas to check if the addrees exists. I think it has to be stored in a mapping, but if I do that I’ll have to register each addrees one by one. no?