Hey @iamcarllosjr, welcome to the community!
Thanks for your quick response @Skyge, I’m adding a few extra things:
First, you can have some extra context in this thread.
Also, I think the best way of achieving what you’re looking for is to use a Merkle tree, which you can see in action in this workshop. Note that it’s appled to NFTs but the concepts are easily applicable to ERC20s.
Best to both!