Evaluating Machine-Learning Techniques for Detecting Smart Ponzi Schemes - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2021

Evaluating Machine-Learning Techniques for Detecting Smart Ponzi Schemes


Ethereum is one of the most popular platforms for exchanging cryptocurrencies as well as the most established for peer to peer programming and smart contracts publishing [3]. The versatility of the Solidity language allows developers to program general-purpose smart contracts. Among the various smart contracts, there may be some fraudulent ones, whose purpose is to steal Ether from the network participants. A notorious example of such cases are Ponzi schemes, i.e. a financial frauds that require investors to be repaid through the investments of others who have just entered the scheme. Within the Ethereum blockchain, several contracts have been identified as being Ponzi schemes. The paper proposes a machine learning model that uses textual classification techniques to recognize contracts emulating the behavior of a Ponzi scheme. Starting from a contracts dataset containing exclusively Ponzi schemes uploaded between 2016 and 2018, we built models able to properly classify Ponzi schemes contracts. We tested several models, some of which returned an overall accuracy of 99% on classification. The best model turned out to be the linear Support Vector Machine and the Multinomial Naive Bayes model, which provides the best results in terms of metrics evaluation.
Fichier principal
Vignette du fichier
pierr21a-ibba2021evaluatingIA-Ponzi-Wetseb.pdf (241.92 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03358081 , version 1 (29-09-2021)


  • HAL Id : hal-03358081 , version 1


Giacomo Ibba, Giuseppe Antonio Pierro, Marco Di. Evaluating Machine-Learning Techniques for Detecting Smart Ponzi Schemes. 2021 IEEE/ACM 4th International Workshop on Emerging Trends in Software Engineering for Blockchain (WETSEB), May 2021, Madrid, Spain. ⟨hal-03358081⟩
66 View
263 Download


Gmail Facebook X LinkedIn More