Ibonon commited on
Commit
62f14a2
·
verified ·
1 Parent(s): 02311c6

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +95 -0
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ tags:
6
+ - blockchain
7
+ - defi-security
8
+ - depin
9
+ - graph
10
+ - vision
11
+ - transaction-analysis
12
+ - ethereum
13
+ - arbitrum
14
+ - polygon
15
+ - attack-detection
16
+ pretty_name: Sigui DePIN 1M — Multichain Transaction Graph Dataset
17
+ size_categories:
18
+ - 1M<n<10M
19
+ task_categories:
20
+ - image-classification
21
+ - image-text-to-text
22
+ ---
23
+ # Sigui DePIN 1M — Multichain Transaction Graph Dataset
24
+ > The largest open dataset of annotated blockchain transaction graph visualizations for AI security research.
25
+ ---
26
+ ## 📋 Dataset Description
27
+ **sigui-depin-1m** contains 1,000,000 visual transaction graph images generated from 1.87 million real on-chain transactions across Ethereum, Arbitrum, and Polygon. Each image is annotated with an attack topology label designed to train Vision-Language Models to detect DeFi threats.
28
+ This dataset is the training foundation for **Imina-Na V2**, the vision brain of the Sigui Protocol — a DePIN security oracle for the agentic economy.
29
+ ---
30
+ ## 📊 Dataset Statistics
31
+ | Property | Value |
32
+ |---|---|
33
+ | **Total images** | 1,000,000 |
34
+ | **Source transactions** | 1,870,000+ real on-chain txs |
35
+ | **Chains covered** | Ethereum, Arbitrum, Polygon |
36
+ | **Label classes** | 3 (DRAIN_STAR, MIXING_CHAIN, NORMAL) |
37
+ | **Image format** | PNG (dark background) |
38
+ | **Total size** | ~10.8 GB (images.tar) |
39
+ | **Annotation file** | qwen2_vl_real_data.jsonl (260 MB) |
40
+ | **License** | MIT |
41
+ ---
42
+ ## 🏷️ Label Classes
43
+ ### DRAIN_STAR
44
+ Multiple wallets converging simultaneously into a single target address. This topology is the signature of coordinated rug pulls, flash loan attacks, and fund aggregation schemes.
45
+ ### MIXING_CHAIN
46
+ Funds routed through a sequential chain of intermediate wallets to obscure the origin. This is the on-chain fingerprint of mixer evasion, layering attacks, and money laundering.
47
+ ### NORMAL
48
+ Organic transaction topologies with no anomalous structure. Standard user-to-user and contract interactions.
49
+ ---
50
+ ## 📁 Dataset Structure
51
+ sigui-depin-1m/ ├── images.tar # 1,000,000 PNG graph images └── qwen2_vl_real_data.jsonl # Annotations in ShareGPT format
52
+
53
+ Each line in the JSONL file follows this format:
54
+ ```json
55
+ {
56
+ "messages": [
57
+ {"role": "user", "content": "<image>Analyze this DePIN transaction graph."},
58
+ {"role": "assistant", "content": "DRAIN_STAR detected."}
59
+ ],
60
+ "images": ["/path/to/graph_000001_drain_star.png"]
61
+ }
62
+ ⚙️ Generation Process
63
+ Generated using a custom multiprocessing pipeline on AMD MI300X (ROCm 7.0):
64
+
65
+ Source: 1.87M real transactions from Ethereum, Arbitrum, and Polygon via public APIs
66
+ Graph construction: NetworkX DiGraph built from from/to transaction pairs
67
+ Attack injection: Deterministic injection of DRAIN_STAR and MIXING_CHAIN patterns
68
+ Rendering: Matplotlib (Agg backend), dark background, DPI=50
69
+ Speed: ~225 images/second using 20 parallel CPU cores
70
+ Total generation time: ~1 hour 15 minutes
71
+ 🔧 How to Use
72
+ python
73
+ from datasets import load_dataset
74
+ dataset = load_dataset(
75
+ "json",
76
+ data_files="qwen2_vl_real_data.jsonl",
77
+ split="train"
78
+ )
79
+ print(dataset[0])
80
+ 🔗 Related Resources
81
+ Sigui Protocol (GitHub): https://github.com/ibonon/ERCs
82
+ ERC-8259 Standard: https://ethereum-magicians.org/t/erc-8259-ai-agent-identity-threat-registry/28473
83
+ Imina-Na V1 Model: https://huggingface.co/Ibonon/imina_na_lora
84
+ Imina-Na V2 Model: https://huggingface.co/Ibonon/imina_na_v2_lora
85
+ ✍️ Citation
86
+ bibtex
87
+ @dataset{sigui_depin_1m_2026,
88
+ author = {Ibonon},
89
+ title = {Sigui DePIN 1M — Multichain Transaction Graph Dataset},
90
+ year = {2026},
91
+ publisher = {Hugging Face},
92
+ url = {https://huggingface.co/datasets/Ibonon/sigui-depin-1m}
93
+ }
94
+ ⚖️ License
95
+ MIT — Open for research and commercial use.