Abstract
Efficient transfers to many recipients present a host of issues on Ethereum. First, accounts are identified by long and incompressible constants. Second, these constants have to be stored and communicated for each payment. Third, the standard interface for token transfers does not support lists of recipients, adding repeated communication to the overhead. Since Ethereum charges resource usage, even small optimizations translate to cost savings. Airdrops, a popular marketing tool used to boost coin uptake, present a relevant example for the value of optimizing bulk transfers. Therefore, we review technical solutions for airdrops of Ethereum-based tokens, discuss features and prerequisites, and compare the operational costs by simulating 35 scenarios. We find that cost savings of factor two are possible, but require specific provisions in the smart contract implementing the token system. Pull-based approaches, which use on-chain interaction with the recipients, promise moderate savings for the distributor while imposing a disproportional cost on each recipient. Total costs are broadly linear in the number of recipients independent of the technical approach. We publish the code of the simulation framework for reproducibility, to support future airdrop decisions, and to benchmark innovative bulk payment solutions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
https://bountyone.io/airdrops, [Online; accessed 18 Jun 2019].
- 2.
This depends on the account type and state. For example, disabled contracts or contracts that are not programmed to transact with token systems will never be able to use the funds. This is also noted in [2].
- 3.
- 4.
Functions: , , , .
- 5.
Functions: .
- 6.
Functions: , , , .
- 7.
Events: and .
- 8.
The first ERC-20 token. Block: 490 326, Address: 0xEff6425659825E22a3cb00d468E769f038166ae6.
- 9.
Gas limit at the time of writing is 8 000 029 in block number 8 014 738.
- 10.
This accounts to: one transaction per recipient, Merkle proof verification, and storage of withdrawal record.
- 11.
The claim of constant distributor cost in the Coinstantine whitepaper indicates the use of pooled payments. See https://www.coinstantine.io/, [Online; accessed 22 Jun 2019].
- 12.
https://gastoken.io/, [Online; accessed 21 Jun 2019].
- 13.
- 14.
- 15.
This rests on the assumption that other computation cost can be optimized.
References
EIP 20: ERC-20 Token Standard (2015). https://eips.ethereum.org/EIPS/eip-20. Accessed 18 June 2019
OmiseGO Tokens Airdrop (2017). https://github.com/omisego/airdrop. Accessed 18 June 2019
Ethereum’s Growing Gas Crisis (And What’s Being Done to Stop It) (2018). https://www.coindesk.com/ethereums-growing-gas-crisis-and-whats-being-done-to-stop-it. Accessed 18 June 2019
MerkleMine Specification (2018). https://github.com/livepeer/merkle-mine/blob/master/SPEC.md. Accessed 18 June 2019
Pooled Payments (scaling solution for one-to-many transactions) (2018). https://ethresear.ch/t/pooled-payments-scaling-solution-for-one-to-many-transactions/590. Accessed 18 June 2019
Böhme, R.: Internet protocol adoption: learning from Bitcoin. In: IAB Workshop on Internet Technology Adoption and Transition (ITAT), Cambridge (2013)
Briscoe, B., Odlyzko, A., Tilly, B.: Metcalfe’s law is wrong. IEEE Spectr. 43(7), 34–39 (2006)
Chen, T., Li, X., Luo, X., Zhang, X.: Under-optimized smart contracts devour your money. In: 2017 IEEE 24th International Conference on Software Analysis, Evolution and Reengineering (SANER), pp. 442–446. IEEE (2017)
Chen, T., et al.: An adaptive gas cost mechanism for Ethereum to defend against under-priced DoS attacks. In: Liu, J.K., Samarati, P. (eds.) ISPEC 2017. LNCS, vol. 10701, pp. 3–24. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-72359-4_1
Daian, P., et al.: Flash Boys 2.0: frontrunning, transaction reordering, and consensus instability in decentralized exchanges. arXiv preprint arXiv:1904.05234 (2019)
Di Angelo, M., Salzer, G.: Mayflies, breeders, and busy bees in Ethereum: smart contracts over time. In: Third ACM Workshop on Blockchains, Cryptocurrencies and Contracts (BCC 2019). ACM Press (2019)
Fröwis, M., Fuchs, A., Böhme, R.: Detecting token systems on Ethereum. In: Goldberg, I., Moore, T. (eds.) Financial Cryptography and Data Security (2019)
Harrigan, M., Shi, L., Illum, J.: Airdrops and privacy: a case study in cross-blockchain analysis. In: 2018 IEEE International Conference on Data Mining Workshops (ICDMW), pp. 63–70. IEEE (2018)
Hill, S., Provost, F., Volinsky, C.: Network-based marketing: identifying likely adopters via consumer networks. Stat. Sci. 21(2), 256–276 (2006)
Howell, S.T., Niessner, M., Yermack, D.: Initial coin offerings: financing growth with cryptocurrency token sales. Technical report, National Bureau of Economic Research (2018)
Katz, M.L., Shapiro, C.: Systems competition and network effects. J. Econ. Perspect. 8(2), 93–115 (1994)
Merkle, R.C.: A digital signature based on a conventional encryption function. In: Pomerance, C. (ed.) CRYPTO 1987. LNCS, vol. 293, pp. 369–378. Springer, Heidelberg (1988). https://doi.org/10.1007/3-540-48184-2_32
Nagele, J., Schett, M.A.: Blockchain Superoptimizer (2018). http://www.maria-a-schett.net/talks/2019_04-MaS_imdea.pdf. Accessed 24 June 2019
nharrison: Airdrop Update 2 (2017). https://steemit.com/ethereum/@nharrison/what-you-need-to-know-about-the-omisego-airdrop. Accessed 25 June 2019
Victor, F., Lüders, B.K.: Measuring Ethereum-based ERC20 token networks. In: Goldberg, I., Moore, T. (eds.) Financial Cryptography and Data Security (2019)
Vladimirov, M., Khovratovich, D.: ERC20 API: An Attack Vector on Approve/Transfer From Methods. https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM. Accessed 25 June 2019
Acknowledgments
We would like to thank Patrik Keller, Clemens Brunner and Alexandra Bertomeu-Gilles for their valuable insights and feedback.
This work has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 740558.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Fröwis, M., Böhme, R. (2019). The Operational Cost of Ethereum Airdrops. In: Pérez-Solà, C., Navarro-Arribas, G., Biryukov, A., Garcia-Alfaro, J. (eds) Data Privacy Management, Cryptocurrencies and Blockchain Technology. DPM CBT 2019 2019. Lecture Notes in Computer Science(), vol 11737. Springer, Cham. https://doi.org/10.1007/978-3-030-31500-9_17
Download citation
DOI: https://doi.org/10.1007/978-3-030-31500-9_17
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-31499-6
Online ISBN: 978-3-030-31500-9
eBook Packages: Computer ScienceComputer Science (R0)