I am working on a solidity contract and on each ethereum received in contract, I want to distribute ERC20 token propotional to ether spent in that transaction to 7500 addresses at once.
To do there could be these 2 ways as given below:
- To transfer them token at the same time.
- To save that amount so they can claim later. (push/withdraw method)
But in both the ways I will run out of gas.
Any help will be appreciated. Thanks.