Messi-Q / SourceGraphExtractor

Extracting graph data from smart contract source code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SourceGraphExtractor

AutoExtractGraph.py

  • All functions in the smart contract code are automatically split and stored.
  • Find the relationships between functions.
  • Extract all smart contracts source code into the corresponding contract graph consisting of nodes and edges.
python3 AutoExtractGraph.py

graph2vec.py

  • Feature ablation.
  • Convert contract graph into vectors.
python3 graph2vec.py

About

Extracting graph data from smart contract source code


Languages

Language:Python 99.5%Language:Solidity 0.5%