Papers1 provider Ā· 1 record
December 15, 2025Ā· 2025 IEEE International Conference on Advanced Networks and Telecommunications Systems (ANTS)
conference-paper

Recommending Smart Contracts to Users Using Semantic Graph Embeddings

Authors:Pankaj GugnaniMonis KhanSpandan BarveDebanjan SadhyaW. Wilfred Godfrey

Abstract

Public blockchains like Ethereum generate vast amounts of transactional data, offering insight into significant economic and decentralized application activity. However, these data are often unstructured and semantically poor. Understanding the functionality of smart contracts is crucial for unlocking the potential of this data. This work presents a novel methodology to transform raw blockchain transaction logs into semantically rich representations. We first classify smart contracts by analyzing their function names and structures using N-gram profiling and embedding comparisons against known standards like ERC/EIP. This process assigns functional labels (e.g., DeFi, Exchange, Token) to the smart contracts. Subsequently, we model the framework as a heterogeneous graph of users and labeled contracts. We employ a modified Node2Vec algorithm with an enforced alternating node-type walk strategy to effectively capture the dynamics of user-contract interactions. This process yields low-dimensional vector embeddings for users and contracts, making blockchain data readily available for knowledge discovery. We demonstrate the utility of our approach through a smart contract recommendation system that suggests relevant contracts to users based on their interaction history and learned embeddings.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.