If I want to airdrop the token to 10,000 addresses can we do it all under 1 transaction rather than 10,000 separate transactions all incurring separate fees.
Thanks Amit M
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
Sort of. If you do more work in a single transaction, that transaction will get more expensive (but cheaper than doing separate transactions).
That said, 10,000 transfers is too many. The required gas would exceed the current block limit, so such a transaction is impossible to get mined.
A more realistic number would be on the order of 100-1,000 transfers per transaction. Once you've written your code, it will be easy to measure the gas required and pick the right number.