Skip to content

msy0513/GradWATCH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

GradWATCH-mian

Tracing Your Account: A Gradient-Aware Dynamic Window Graph Framework for Ethereum under Privacy-Preserving Services

This is a Python implementation of GradWATCH, as described in the following:

Tracing Your Account: A Gradient-Aware Dynamic Window Graph Framework for Ethereum under Privacy-Preserving Services

🛠️ Requirements

For software configuration, all model are implemented in

  • Python 3.9
  • Torch 2.1.1
  • torch-scatter 2.1.2+pt21cu121
  • DGL 2.2.1+cu121
  • CUDA 12.1
  • scikit-learn 1.2.0
  • numpy 1.26.3
  • tqdm 4.64.1

Data

The original transaction can be downloaded from the blockchain browser page. Given the large size of the data files, we provide download links for access. For batch downloads, we recommend using the API interface provided by the hosting website. If you prefer to use our preprocessed data directly, please refer to the files in the dataset folder.

🚀 Quick Start (Step-by-Step)

Execute the following bash commands in the same directory where the code resides:

  1. Process the dataset, generate MixTAG, and output the data to meet the input requirements of the model, which will be placed in the '/tornado-rule' or '/ens' folder:
$ python prep_tc.py 
$ python prep_ens.py 
  1. Transaction-to-Account Mapping:
$ cd nodedemo
$ python input_embedding4.py 

Here, the initial embeddings of the nodes are generated based on the original transactions, and a reconstruction function is used to ensure that the newly generated embeddings have a statistical similarity with the original data.

  1. Model training and testing:
$ python main.py

📖 Citation

If you find this work useful, please cite the following:

@ARTICLE{11435445,
  author={Miao, Shuyi and Qiu, Wangjie and Tu, Xiaofan and Li, Yunze and Wen, Yongxin and Zheng, Zhiming},
  journal={IEEE Transactions on Information Forensics and Security}, 
  title={Tracing Your Account: A Gradient-Aware Dynamic Window Graph Framework for Ethereum under Privacy-Preserving Services}, 
  year={2026},
  volume={},
  number={},
  pages={1-1},
  keywords={Blockchains;Tornadoes;Semantics;Privacy;Feature extraction;Protection;Graph neural networks;Semantic Web;Noise;Computational modeling;Blockchain;Ethereum;Privacy Protection Services;Dynamic Graph Neural Networks;Gradient propagation},
  doi={10.1109/TIFS.2026.3674425}}

💬 Contact

If you have any questions regarding our paper or code, please feel free to contact us via email 📧 (shuyimiao@buaa.edu.cn).

About

Tracing Your Account: A Gradient-Aware Dynamic Window Graph Framework for Ethereum under Privacy-Preserving Services accpted for TIFS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages