Open Access iconOpen Access

ARTICLE

crossmark

Detecting Ethereum Ponzi Scheme Based on Hybrid Sampling for Smart Contract

Yuanjun Qu, Xiameng Si*, Haiyan Kang, Hanlin Zhou

College of Computer Science, Beijing Information Science and Technology University, Beijing, 100192, China

* Corresponding Author: Xiameng Si. Email: email

Computers, Materials & Continua 2025, 82(2), 3111-3130. https://doi.org/10.32604/cmc.2024.057368

Abstract

With the widespread use of blockchain technology for smart contracts and decentralized applications on the Ethereum platform, the blockchain has become a cornerstone of trust in the modern financial system. However, its anonymity has provided new ways for Ponzi schemes to commit fraud, posing significant risks to investors. Current research still has some limitations, for example, Ponzi schemes are difficult to detect in the early stages of smart contract deployment, and data imbalance is not considered. In addition, there is room for improving the detection accuracy. To address the above issues, this paper proposes LT-SPSD (LSTM-Transformer smart Ponzi schemes detection), which is a Ponzi scheme detection method that combines Long Short-Term Memory (LSTM) and Transformer considering the time-series transaction information of smart contracts as well as the global information. Based on the verified smart contract addresses, account features, and code features are extracted to construct a feature dataset, and the SMOTE-Tomek algorithm is used to deal with the imbalanced data classification problem. By comparing our method with the other four typical detection methods in the experiment, the LT-SPSD method shows significant performance improvement in precision, recall, and F1-score. The results of the experiment confirm the efficacy of the model, which has some application value in Ethereum Ponzi scheme smart contract detection.

Keywords


Cite This Article

APA Style
Qu, Y., Si, X., Kang, H., Zhou, H. (2025). Detecting ethereum ponzi scheme based on hybrid sampling for smart contract. Computers, Materials & Continua, 82(2), 3111–3130. https://doi.org/10.32604/cmc.2024.057368
Vancouver Style
Qu Y, Si X, Kang H, Zhou H. Detecting ethereum ponzi scheme based on hybrid sampling for smart contract. Comput Mater Contin. 2025;82(2):3111–3130. https://doi.org/10.32604/cmc.2024.057368
IEEE Style
Y. Qu, X. Si, H. Kang, and H. Zhou, “Detecting Ethereum Ponzi Scheme Based on Hybrid Sampling for Smart Contract,” Comput. Mater. Contin., vol. 82, no. 2, pp. 3111–3130, 2025. https://doi.org/10.32604/cmc.2024.057368



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 378

    View

  • 138

    Download

  • 0

    Like

Share Link