I have a need. Users participated in airdrop, sending tokens to over 50000 wallets constitute quite a fee. So we developed a medium for them to pay their gas fees themselves, and the rush was too much for the web3 server we used, thereby leading to some people not receiving tokens after payment and then a manual intervention clears the log. But this is a highly repeated scheme that needs proper automation.
Then we discussed and agreed with the community on a better proposal, since the token is currently been traded on exchange, we are planning on implementing a plan where all wallets and amounts are stored in a json file within the contract, and payments will trigger the amount of tokens to be sent to their wallets and the remainder fee will be sent to a liquidity in exchange.
I currently have a crowdsale contract that works, but not so sure how to implement this, especially the liquidity sending part.
I need guide, thank you in advance.