Greg647465374 commited on
Commit
d68d473
·
1 Parent(s): d40c267
Files changed (2) hide show
  1. README.md +245 -0
  2. ReadmeMore.md +0 -244
README.md CHANGED
@@ -19,3 +19,248 @@ size_categories_planned:
19
  - n>1M
20
  size_categories_notes: We will have many more transactions
21
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  - n>1M
20
  size_categories_notes: We will have many more transactions
21
  ---
22
+
23
+ # SOLFUNMEME Transaction Cache Dataset
24
+
25
+ Welcome to the SOLFUNMEME Transaction Cache Dataset hosted on Hugging Face! This repository contains a curated collection of JSON caches derived from Solana blockchain RPC queries for the SOLFUNMEME (SFM) token (BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump). The dataset encapsulates transaction metadata, token balance changes, and program interactions, providing a robust resource for exploring the trading dynamics, decentralized finance (DeFi) patterns, and community-driven meme propagation of SFM within the Solana ecosystem.
26
+
27
+ ## Dataset Description
28
+
29
+ The SOLFUNMEME Transaction Cache Dataset is a structured archive of Solana transaction data designed to support research, development, and community engagement with the SFM token, a key element of the Zero Ontology System (ZOS). ZOS is a pioneering framework that blends meme coin mechanics with decentralized governance, self-hosted agents, and zero-knowledge machine learning (ZKML) on Solana’s high-throughput blockchain.
30
+
31
+ The dataset abstracts raw transaction data into JSON files, enabling users to:
32
+ - Analyze trading activities, such as buy and sell transactions, on platforms like Raydium.
33
+ - Investigate SFM’s tokenomics, liquidity trends, and market behavior.
34
+ - Apply formal verification techniques (e.g., Lean-based proofs) to ensure transaction integrity.
35
+ - Explore the social and economic dynamics of meme propagation within the SOLFUNMEME community.
36
+ - Inform the development of ZOS-based applications, such as decentralized meme engines or trading bots.
37
+
38
+ ## Key Features
39
+
40
+ - **Rich Transaction Metadata**: Captures block times, slots, account balances, token transfers, and program logs for comprehensive analysis.
41
+ - **SFM-Centric**: Focuses on the SFM token (BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump), covering trades, account creations, and token movements.
42
+ - **Optimized for Reusability**: Caches Solana RPC responses to reduce query overhead and ensure reproducibility.
43
+ - **Verification-Ready**: Structured to integrate with formal methods tools (e.g., Lean) for proving properties like token conservation and balance consistency.
44
+ - **Community-Aligned**: Supports the SOLFUNMEME project’s mission to foster decentralized, user-driven meme ecosystems.
45
+
46
+ ## Data Sources
47
+
48
+ The dataset is generated by querying Solana’s mainnet RPC endpoint (https://api.mainnet-beta.solana.com) using two core methods:
49
+ 1. **getSignaturesForAddress**: Retrieves transaction signatures for the SFM token address, indexing a wide range of activities, including trades, transfers, and account operations.
50
+ 2. **getTransaction**: Provides detailed transaction metadata, including:
51
+ - **Timing and Block Data**: Unix timestamps and Solana block heights (slots).
52
+ - **Account Balances**: SOL balances (in lamports) before and after transactions.
53
+ - **Token Balances**: Pre- and post-transaction balances for SFM and other tokens (e.g., Wrapped SOL).
54
+ - **Program Interactions**: Execution logs from programs like Raydium AMM, SPL Token Program, System Program, and Compute Budget Program.
55
+ - **Instructions**: Details of transaction instructions and nested inner instructions (e.g., token transfers within swaps).
56
+
57
+ ## Dataset Contents
58
+
59
+ The dataset is organized as follows:
60
+
61
+ ### rpc_cache/
62
+ - **method_getSignaturesForAddress_address_BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump_[hash].json**: Lists transaction signatures associated with the SFM token, serving as an index for further exploration.
63
+ - **method_getTransaction_signature_[signature].json**: Contains detailed transaction data, including metadata, balance changes, and program logs.
64
+ - **temp_*.json and temp_*.txt**: Temporary files storing request payloads, responses, and error logs for debugging and transparency.
65
+ - **README.md**: This file, providing an overview, usage instructions, and context.
66
+ - **LICENSE**: Specifies the terms of use for the dataset (e.g., MIT License).
67
+
68
+ ## Data Structure
69
+
70
+ Each JSON file adheres to the Solana JSON-RPC 2.0 format, with key fields optimized for analysis:
71
+ - **result.blockTime**: Unix timestamp of the transaction.
72
+ - **result.slot**: Solana block height.
73
+ - **result.meta.preBalances** and **result.meta.postBalances**: SOL balances (in lamports) for accounts before and after the transaction.
74
+ - **result.meta.preTokenBalances** and **result.meta.postTokenBalances**: Token balances for SFM and other tokens, with fields:
75
+ - **accountIndex**: Index in the transaction’s account list.
76
+ - **mint**: Token mint address (e.g., BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump for SFM).
77
+ - **uiTokenAmount.amount**: Token amount in smallest units.
78
+ - **uiTokenAmount.uiAmountString**: Human-readable amount.
79
+ - **result.meta.logMessages**: Program execution logs, identifying interactions with Raydium, Token Program, etc.
80
+ - **result.transaction.message.instructions**: Instructions executed, including program IDs and account indices.
81
+ - **result.transaction.message.addressTableLookups**: Address table lookups for additional account resolution.
82
+
83
+ ## Potential Use Cases
84
+
85
+ This dataset enables a range of applications:
86
+ - **Trading Pattern Analysis**: Identify buy and sell transactions by examining token balance changes, supporting studies of market dynamics and investor behavior.
87
+ - **Tokenomics Research**: Analyze SFM’s supply, liquidity, and trading volume to understand its role in the Solana meme coin ecosystem.
88
+ - **Formal Verification**: Use with Lean or other formal methods tools to prove transaction properties, such as non-negative balances or token conservation.
89
+ - **Community Mapping**: Study wallet interactions to uncover patterns of engagement within the SOLFUNMEME community, aligning with ZOS’s meme propagation goals.
90
+ - **DeFi Innovation**: Inform the development of ZOS-based tools, such as decentralized agents, trading algorithms, or governance mechanisms.
91
+ - **Educational Exploration**: Learn about Solana’s transaction model, DeFi protocols, and the intersection of blockchain and meme culture.
92
+
93
+ ### Example Use Case: Identifying Trading Activity
94
+
95
+ A common use case is analyzing SFM trading activity on Raydium. For instance, a transaction might show an account gaining SFM tokens (indicating a buy) in exchange for Wrapped SOL, with the Raydium AMM program facilitating the swap. By comparing `preTokenBalances` and `postTokenBalances`, users can quantify token movements and correlate them with market trends or community activity.
96
+
97
+ ## How to Use the Dataset
98
+
99
+ ### Prerequisites
100
+ - Proficiency in JSON processing (e.g., Python, JavaScript, or Rust).
101
+ - Basic understanding of Solana’s transaction structure and DeFi concepts.
102
+ - Optional: Lean environment for formal verification or dataset extension.
103
+
104
+ ### Getting Started
105
+ 1. **Clone or Download the Repository**:
106
+ ```bash
107
+ git clone https://huggingface.co/[your-username]/solfunmeme-transaction-cache
108
+ cd solfunmeme-transaction-cache
109
+
110
+ Here is the reformatted Markdown with proper heading levels:
111
+
112
+ ```markdown
113
+ # SOLFUNMEME Transaction Cache Dataset
114
+
115
+ Welcome to the SOLFUNMEME Transaction Cache Dataset hosted on Hugging Face! This repository contains a curated collection of JSON caches derived from Solana blockchain RPC queries for the SOLFUNMEME (SFM) token (BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump). The dataset encapsulates transaction metadata, token balance changes, and program interactions, providing a robust resource for exploring the trading dynamics, decentralized finance (DeFi) patterns, and community-driven meme propagation of SFM within the Solana ecosystem.
116
+
117
+ ## Dataset Description
118
+
119
+ The SOLFUNMEME Transaction Cache Dataset is a structured archive of Solana transaction data designed to support research, development, and community engagement with the SFM token, a key element of the Zero Ontology System (ZOS). ZOS is a pioneering framework that blends meme coin mechanics with decentralized governance, self-hosted agents, and zero-knowledge machine learning (ZKML) on Solana’s high-throughput blockchain.
120
+
121
+ The dataset abstracts raw transaction data into JSON files, enabling users to:
122
+ - Analyze trading activities, such as buy and sell transactions, on platforms like Raydium.
123
+ - Investigate SFM’s tokenomics, liquidity trends, and market behavior.
124
+ - Apply formal verification techniques (e.g., Lean-based proofs) to ensure transaction integrity.
125
+ - Explore the social and economic dynamics of meme propagation within the SOLFUNMEME community.
126
+ - Inform the development of ZOS-based applications, such as decentralized meme engines or trading bots.
127
+
128
+ ## Key Features
129
+
130
+ - **Rich Transaction Metadata**: Captures block times, slots, account balances, token transfers, and program logs for comprehensive analysis.
131
+ - **SFM-Centric**: Focuses on the SFM token (BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump), covering trades, account creations, and token movements.
132
+ - **Optimized for Reusability**: Caches Solana RPC responses to reduce query overhead and ensure reproducibility.
133
+ - **Verification-Ready**: Structured to integrate with formal methods tools (e.g., Lean) for proving properties like token conservation and balance consistency.
134
+ - **Community-Aligned**: Supports the SOLFUNMEME project’s mission to foster decentralized, user-driven meme ecosystems.
135
+
136
+ ## Data Sources
137
+
138
+ The dataset is generated by querying Solana’s mainnet RPC endpoint (https://api.mainnet-beta.solana.com) using two core methods:
139
+ 1. **getSignaturesForAddress**: Retrieves transaction signatures for the SFM token address, indexing a wide range of activities, including trades, transfers, and account operations.
140
+ 2. **getTransaction**: Provides detailed transaction metadata, including:
141
+ - **Timing and Block Data**: Unix timestamps and Solana block heights (slots).
142
+ - **Account Balances**: SOL balances (in lamports) before and after transactions.
143
+ - **Token Balances**: Pre- and post-transaction balances for SFM and other tokens (e.g., Wrapped SOL).
144
+ - **Program Interactions**: Execution logs from programs like Raydium AMM, SPL Token Program, System Program, and Compute Budget Program.
145
+ - **Instructions**: Details of transaction instructions and nested inner instructions (e.g., token transfers within swaps).
146
+
147
+ ## Dataset Contents
148
+
149
+ The dataset is organized as follows:
150
+ ```
151
+ .
152
+ ├── rpc_cache/
153
+ │ ├── method_getSignaturesForAddress_address_BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump_[hash].json
154
+ │ ├── method_getTransaction_signature_[signature].json
155
+ │ ├── temp_[cacheKey]_request.json
156
+ │ ├── temp_[cacheKey]_response.json
157
+ │ └── temp_[cacheKey]_error.txt
158
+ ├── README.md
159
+ └── LICENSE
160
+ ```
161
+
162
+ ### rpc_cache/
163
+ - **method_getSignaturesForAddress_address_BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump_[hash].json**: Lists transaction signatures associated with the SFM token, serving as an index for further exploration.
164
+ - **method_getTransaction_signature_[signature].json**: Contains detailed transaction data, including metadata, balance changes, and program logs.
165
+ - **temp_*.json and temp_*.txt**: Temporary files storing request payloads, responses, and error logs for debugging and transparency.
166
+ - **README.md**: This file, providing an overview, usage instructions, and context.
167
+ - **LICENSE**: Specifies the terms of use for the dataset (e.g., MIT License).
168
+
169
+ ## Data Structure
170
+
171
+ Each JSON file adheres to the Solana JSON-RPC 2.0 format, with key fields optimized for analysis:
172
+ - **result.blockTime**: Unix timestamp of the transaction.
173
+ - **result.slot**: Solana block height.
174
+ - **result.meta.preBalances** and **result.meta.postBalances**: SOL balances (in lamports) for accounts before and after the transaction.
175
+ - **result.meta.preTokenBalances** and **result.meta.postTokenBalances**: Token balances for SFM and other tokens, with fields:
176
+ - **accountIndex**: Index in the transaction’s account list.
177
+ - **mint**: Token mint address (e.g., BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump for SFM).
178
+ - **uiTokenAmount.amount**: Token amount in smallest units.
179
+ - **uiTokenAmount.uiAmountString**: Human-readable amount.
180
+ - **result.meta.logMessages**: Program execution logs, identifying interactions with Raydium, Token Program, etc.
181
+ - **result.transaction.message.instructions**: Instructions executed, including program IDs and account indices.
182
+ - **result.transaction.message.addressTableLookups**: Address table lookups for additional account resolution.
183
+
184
+ ## Potential Use Cases
185
+
186
+ This dataset enables a range of applications:
187
+ - **Trading Pattern Analysis**: Identify buy and sell transactions by examining token balance changes, supporting studies of market dynamics and investor behavior.
188
+ - **Tokenomics Research**: Analyze SFM’s supply, liquidity, and trading volume to understand its role in the Solana meme coin ecosystem.
189
+ - **Formal Verification**: Use with Lean or other formal methods tools to prove transaction properties, such as non-negative balances or token conservation.
190
+ - **Community Mapping**: Study wallet interactions to uncover patterns of engagement within the SOLFUNMEME community, aligning with ZOS’s meme propagation goals.
191
+ - **DeFi Innovation**: Inform the development of ZOS-based tools, such as decentralized agents, trading algorithms, or governance mechanisms.
192
+ - **Educational Exploration**: Learn about Solana’s transaction model, DeFi protocols, and the intersection of blockchain and meme culture.
193
+
194
+ ### Example Use Case: Identifying Trading Activity
195
+
196
+ A common use case is analyzing SFM trading activity on Raydium. For instance, a transaction might show an account gaining SFM tokens (indicating a buy) in exchange for Wrapped SOL, with the Raydium AMM program facilitating the swap. By comparing `preTokenBalances` and `postTokenBalances`, users can quantify token movements and correlate them with market trends or community activity.
197
+
198
+ ## How to Use the Dataset
199
+
200
+ ### Prerequisites
201
+ - Proficiency in JSON processing (e.g., Python, JavaScript, or Rust).
202
+ - Basic understanding of Solana’s transaction structure and DeFi concepts.
203
+ - Optional: Lean environment for formal verification or dataset extension.
204
+
205
+ ### Getting Started
206
+ 1. **Clone or Download the Repository**:
207
+ ```bash
208
+ git clone https://huggingface.co/[your-username]/solfunmeme-transaction-cache
209
+ cd solfunmeme-transaction-cache
210
+ ```
211
+
212
+ 2. **Explore Transaction Data**:
213
+ - Navigate to `rpc_cache/` and inspect `method_getTransaction_signature_*.json` files.
214
+ - Use a script to filter transactions involving the Raydium AMM program (`675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8`).
215
+ - Identify trading activity by checking token balance changes:
216
+ - **Buys**: SFM balance increases for an account.
217
+ - **Sells**: SFM balance decreases.
218
+
219
+ 3. **Example Python Script**:
220
+ See `[read.py]`.
221
+
222
+ 4. **Interpret Findings**:
223
+ - Buys reflect community engagement or investment in SFM’s Hyper-Pump Mechanism.
224
+ - Sells may indicate profit-taking or market adjustments.
225
+ - Aggregate data to derive insights into trading volume, liquidity, or wallet activity.
226
+
227
+
228
+ ## Limitations
229
+
230
+ - **Temporal Scope**: The dataset reflects transactions up to the latest RPC query, typically limited to 1000 signatures per `getSignaturesForAddress` call. Continuous updates are needed for real-time analysis.
231
+ - **Liquidity Constraints**: SFM’s low liquidity on Raydium may result in sparse or volatile transaction data, affecting analysis depth.
232
+ - **Data Complexity**: Solana’s JSON-RPC responses are detailed and require parsing expertise to extract meaningful insights.
233
+ - **Temporary Files**: The `rpc_cache/` directory includes temporary files (`temp_*.json`, `temp_*.txt`) for debugging, which are not primary analysis targets.
234
+
235
+ ## Contributing
236
+
237
+ We encourage contributions to enhance the dataset’s utility:
238
+ 1. Fork this repository on Hugging Face.
239
+ 2. Add new JSON caches, analysis scripts, or improved documentation.
240
+ 3. Submit a pull request with a clear description of your changes.
241
+ 4. For code contributions, update the `getSolfunmeme.lean` script on Codeberg and reference this dataset.
242
+
243
+ Please report issues or suggest features on Codeberg. Verified users (via wallet-signed transactions) can participate in the SOLFUNMEME DAO to shape the project’s future.
244
+
245
+ ## License
246
+
247
+ This dataset is licensed under the MIT License (`LICENSE`), permitting free use, modification, and distribution, subject to the license terms.
248
+
249
+ ## Contact
250
+
251
+ Engage with the SOLFUNMEME community:
252
+ - **Codeberg**: [https://codeberg.org/introspector/SOLFUNMEME](https://codeberg.org/introspector/SOLFUNMEME) (primary communication channel)
253
+ - **Discord**: [https://discord.gg/WASKdrBBzu](https://discord.gg/WASKdrBBzu)
254
+ - **Telegram**: [https://t.me/introsp3ctor](https://t.me/introsp3ctor)
255
+ - **Twitter (Official)**: [https://x.com/zos_sfm](https://x.com/zos_sfm)
256
+ - **Twitter (Developer)**: [https://twitter.com/introsp3ctor](https://twitter.com/introsp3ctor)
257
+ - **Website**: [https://solfunmeme.com](https://solfunmeme.com)
258
+
259
+ ## Acknowledgments
260
+
261
+ - **James Michael DuPont (@introsp3ctor)**: Visionary behind SOLFUNMEME and the Zero Ontology System.
262
+ - **Solana Community**: For providing scalable blockchain infrastructure.
263
+ - **Lean Community**: For enabling formal verification of transaction data.
264
+ - **Hugging Face**: For hosting this open-access dataset.
265
+
266
+ This dataset empowers users to delve into the SOLFUNMEME ecosystem, uncovering insights into decentralized trading, meme propagation, and the innovative ZOS framework. Start exploring today!
ReadmeMore.md DELETED
@@ -1,244 +0,0 @@
1
- # SOLFUNMEME Transaction Cache Dataset
2
-
3
- Welcome to the SOLFUNMEME Transaction Cache Dataset hosted on Hugging Face! This repository contains a curated collection of JSON caches derived from Solana blockchain RPC queries for the SOLFUNMEME (SFM) token (BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump). The dataset encapsulates transaction metadata, token balance changes, and program interactions, providing a robust resource for exploring the trading dynamics, decentralized finance (DeFi) patterns, and community-driven meme propagation of SFM within the Solana ecosystem.
4
-
5
- ## Dataset Description
6
-
7
- The SOLFUNMEME Transaction Cache Dataset is a structured archive of Solana transaction data designed to support research, development, and community engagement with the SFM token, a key element of the Zero Ontology System (ZOS). ZOS is a pioneering framework that blends meme coin mechanics with decentralized governance, self-hosted agents, and zero-knowledge machine learning (ZKML) on Solana’s high-throughput blockchain.
8
-
9
- The dataset abstracts raw transaction data into JSON files, enabling users to:
10
- - Analyze trading activities, such as buy and sell transactions, on platforms like Raydium.
11
- - Investigate SFM’s tokenomics, liquidity trends, and market behavior.
12
- - Apply formal verification techniques (e.g., Lean-based proofs) to ensure transaction integrity.
13
- - Explore the social and economic dynamics of meme propagation within the SOLFUNMEME community.
14
- - Inform the development of ZOS-based applications, such as decentralized meme engines or trading bots.
15
-
16
- ## Key Features
17
-
18
- - **Rich Transaction Metadata**: Captures block times, slots, account balances, token transfers, and program logs for comprehensive analysis.
19
- - **SFM-Centric**: Focuses on the SFM token (BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump), covering trades, account creations, and token movements.
20
- - **Optimized for Reusability**: Caches Solana RPC responses to reduce query overhead and ensure reproducibility.
21
- - **Verification-Ready**: Structured to integrate with formal methods tools (e.g., Lean) for proving properties like token conservation and balance consistency.
22
- - **Community-Aligned**: Supports the SOLFUNMEME project’s mission to foster decentralized, user-driven meme ecosystems.
23
-
24
- ## Data Sources
25
-
26
- The dataset is generated by querying Solana’s mainnet RPC endpoint (https://api.mainnet-beta.solana.com) using two core methods:
27
- 1. **getSignaturesForAddress**: Retrieves transaction signatures for the SFM token address, indexing a wide range of activities, including trades, transfers, and account operations.
28
- 2. **getTransaction**: Provides detailed transaction metadata, including:
29
- - **Timing and Block Data**: Unix timestamps and Solana block heights (slots).
30
- - **Account Balances**: SOL balances (in lamports) before and after transactions.
31
- - **Token Balances**: Pre- and post-transaction balances for SFM and other tokens (e.g., Wrapped SOL).
32
- - **Program Interactions**: Execution logs from programs like Raydium AMM, SPL Token Program, System Program, and Compute Budget Program.
33
- - **Instructions**: Details of transaction instructions and nested inner instructions (e.g., token transfers within swaps).
34
-
35
- ## Dataset Contents
36
-
37
- The dataset is organized as follows:
38
-
39
- ### rpc_cache/
40
- - **method_getSignaturesForAddress_address_BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump_[hash].json**: Lists transaction signatures associated with the SFM token, serving as an index for further exploration.
41
- - **method_getTransaction_signature_[signature].json**: Contains detailed transaction data, including metadata, balance changes, and program logs.
42
- - **temp_*.json and temp_*.txt**: Temporary files storing request payloads, responses, and error logs for debugging and transparency.
43
- - **README.md**: This file, providing an overview, usage instructions, and context.
44
- - **LICENSE**: Specifies the terms of use for the dataset (e.g., MIT License).
45
-
46
- ## Data Structure
47
-
48
- Each JSON file adheres to the Solana JSON-RPC 2.0 format, with key fields optimized for analysis:
49
- - **result.blockTime**: Unix timestamp of the transaction.
50
- - **result.slot**: Solana block height.
51
- - **result.meta.preBalances** and **result.meta.postBalances**: SOL balances (in lamports) for accounts before and after the transaction.
52
- - **result.meta.preTokenBalances** and **result.meta.postTokenBalances**: Token balances for SFM and other tokens, with fields:
53
- - **accountIndex**: Index in the transaction’s account list.
54
- - **mint**: Token mint address (e.g., BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump for SFM).
55
- - **uiTokenAmount.amount**: Token amount in smallest units.
56
- - **uiTokenAmount.uiAmountString**: Human-readable amount.
57
- - **result.meta.logMessages**: Program execution logs, identifying interactions with Raydium, Token Program, etc.
58
- - **result.transaction.message.instructions**: Instructions executed, including program IDs and account indices.
59
- - **result.transaction.message.addressTableLookups**: Address table lookups for additional account resolution.
60
-
61
- ## Potential Use Cases
62
-
63
- This dataset enables a range of applications:
64
- - **Trading Pattern Analysis**: Identify buy and sell transactions by examining token balance changes, supporting studies of market dynamics and investor behavior.
65
- - **Tokenomics Research**: Analyze SFM’s supply, liquidity, and trading volume to understand its role in the Solana meme coin ecosystem.
66
- - **Formal Verification**: Use with Lean or other formal methods tools to prove transaction properties, such as non-negative balances or token conservation.
67
- - **Community Mapping**: Study wallet interactions to uncover patterns of engagement within the SOLFUNMEME community, aligning with ZOS’s meme propagation goals.
68
- - **DeFi Innovation**: Inform the development of ZOS-based tools, such as decentralized agents, trading algorithms, or governance mechanisms.
69
- - **Educational Exploration**: Learn about Solana’s transaction model, DeFi protocols, and the intersection of blockchain and meme culture.
70
-
71
- ### Example Use Case: Identifying Trading Activity
72
-
73
- A common use case is analyzing SFM trading activity on Raydium. For instance, a transaction might show an account gaining SFM tokens (indicating a buy) in exchange for Wrapped SOL, with the Raydium AMM program facilitating the swap. By comparing `preTokenBalances` and `postTokenBalances`, users can quantify token movements and correlate them with market trends or community activity.
74
-
75
- ## How to Use the Dataset
76
-
77
- ### Prerequisites
78
- - Proficiency in JSON processing (e.g., Python, JavaScript, or Rust).
79
- - Basic understanding of Solana’s transaction structure and DeFi concepts.
80
- - Optional: Lean environment for formal verification or dataset extension.
81
-
82
- ### Getting Started
83
- 1. **Clone or Download the Repository**:
84
- ```bash
85
- git clone https://huggingface.co/[your-username]/solfunmeme-transaction-cache
86
- cd solfunmeme-transaction-cache
87
-
88
- Here is the reformatted Markdown with proper heading levels:
89
-
90
- ```markdown
91
- # SOLFUNMEME Transaction Cache Dataset
92
-
93
- Welcome to the SOLFUNMEME Transaction Cache Dataset hosted on Hugging Face! This repository contains a curated collection of JSON caches derived from Solana blockchain RPC queries for the SOLFUNMEME (SFM) token (BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump). The dataset encapsulates transaction metadata, token balance changes, and program interactions, providing a robust resource for exploring the trading dynamics, decentralized finance (DeFi) patterns, and community-driven meme propagation of SFM within the Solana ecosystem.
94
-
95
- ## Dataset Description
96
-
97
- The SOLFUNMEME Transaction Cache Dataset is a structured archive of Solana transaction data designed to support research, development, and community engagement with the SFM token, a key element of the Zero Ontology System (ZOS). ZOS is a pioneering framework that blends meme coin mechanics with decentralized governance, self-hosted agents, and zero-knowledge machine learning (ZKML) on Solana’s high-throughput blockchain.
98
-
99
- The dataset abstracts raw transaction data into JSON files, enabling users to:
100
- - Analyze trading activities, such as buy and sell transactions, on platforms like Raydium.
101
- - Investigate SFM’s tokenomics, liquidity trends, and market behavior.
102
- - Apply formal verification techniques (e.g., Lean-based proofs) to ensure transaction integrity.
103
- - Explore the social and economic dynamics of meme propagation within the SOLFUNMEME community.
104
- - Inform the development of ZOS-based applications, such as decentralized meme engines or trading bots.
105
-
106
- ## Key Features
107
-
108
- - **Rich Transaction Metadata**: Captures block times, slots, account balances, token transfers, and program logs for comprehensive analysis.
109
- - **SFM-Centric**: Focuses on the SFM token (BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump), covering trades, account creations, and token movements.
110
- - **Optimized for Reusability**: Caches Solana RPC responses to reduce query overhead and ensure reproducibility.
111
- - **Verification-Ready**: Structured to integrate with formal methods tools (e.g., Lean) for proving properties like token conservation and balance consistency.
112
- - **Community-Aligned**: Supports the SOLFUNMEME project’s mission to foster decentralized, user-driven meme ecosystems.
113
-
114
- ## Data Sources
115
-
116
- The dataset is generated by querying Solana’s mainnet RPC endpoint (https://api.mainnet-beta.solana.com) using two core methods:
117
- 1. **getSignaturesForAddress**: Retrieves transaction signatures for the SFM token address, indexing a wide range of activities, including trades, transfers, and account operations.
118
- 2. **getTransaction**: Provides detailed transaction metadata, including:
119
- - **Timing and Block Data**: Unix timestamps and Solana block heights (slots).
120
- - **Account Balances**: SOL balances (in lamports) before and after transactions.
121
- - **Token Balances**: Pre- and post-transaction balances for SFM and other tokens (e.g., Wrapped SOL).
122
- - **Program Interactions**: Execution logs from programs like Raydium AMM, SPL Token Program, System Program, and Compute Budget Program.
123
- - **Instructions**: Details of transaction instructions and nested inner instructions (e.g., token transfers within swaps).
124
-
125
- ## Dataset Contents
126
-
127
- The dataset is organized as follows:
128
- ```
129
- .
130
- ├── rpc_cache/
131
- │ ├── method_getSignaturesForAddress_address_BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump_[hash].json
132
- │ ├── method_getTransaction_signature_[signature].json
133
- │ ├── temp_[cacheKey]_request.json
134
- │ ├── temp_[cacheKey]_response.json
135
- │ └── temp_[cacheKey]_error.txt
136
- ├── README.md
137
- └── LICENSE
138
- ```
139
-
140
- ### rpc_cache/
141
- - **method_getSignaturesForAddress_address_BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump_[hash].json**: Lists transaction signatures associated with the SFM token, serving as an index for further exploration.
142
- - **method_getTransaction_signature_[signature].json**: Contains detailed transaction data, including metadata, balance changes, and program logs.
143
- - **temp_*.json and temp_*.txt**: Temporary files storing request payloads, responses, and error logs for debugging and transparency.
144
- - **README.md**: This file, providing an overview, usage instructions, and context.
145
- - **LICENSE**: Specifies the terms of use for the dataset (e.g., MIT License).
146
-
147
- ## Data Structure
148
-
149
- Each JSON file adheres to the Solana JSON-RPC 2.0 format, with key fields optimized for analysis:
150
- - **result.blockTime**: Unix timestamp of the transaction.
151
- - **result.slot**: Solana block height.
152
- - **result.meta.preBalances** and **result.meta.postBalances**: SOL balances (in lamports) for accounts before and after the transaction.
153
- - **result.meta.preTokenBalances** and **result.meta.postTokenBalances**: Token balances for SFM and other tokens, with fields:
154
- - **accountIndex**: Index in the transaction’s account list.
155
- - **mint**: Token mint address (e.g., BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump for SFM).
156
- - **uiTokenAmount.amount**: Token amount in smallest units.
157
- - **uiTokenAmount.uiAmountString**: Human-readable amount.
158
- - **result.meta.logMessages**: Program execution logs, identifying interactions with Raydium, Token Program, etc.
159
- - **result.transaction.message.instructions**: Instructions executed, including program IDs and account indices.
160
- - **result.transaction.message.addressTableLookups**: Address table lookups for additional account resolution.
161
-
162
- ## Potential Use Cases
163
-
164
- This dataset enables a range of applications:
165
- - **Trading Pattern Analysis**: Identify buy and sell transactions by examining token balance changes, supporting studies of market dynamics and investor behavior.
166
- - **Tokenomics Research**: Analyze SFM’s supply, liquidity, and trading volume to understand its role in the Solana meme coin ecosystem.
167
- - **Formal Verification**: Use with Lean or other formal methods tools to prove transaction properties, such as non-negative balances or token conservation.
168
- - **Community Mapping**: Study wallet interactions to uncover patterns of engagement within the SOLFUNMEME community, aligning with ZOS’s meme propagation goals.
169
- - **DeFi Innovation**: Inform the development of ZOS-based tools, such as decentralized agents, trading algorithms, or governance mechanisms.
170
- - **Educational Exploration**: Learn about Solana’s transaction model, DeFi protocols, and the intersection of blockchain and meme culture.
171
-
172
- ### Example Use Case: Identifying Trading Activity
173
-
174
- A common use case is analyzing SFM trading activity on Raydium. For instance, a transaction might show an account gaining SFM tokens (indicating a buy) in exchange for Wrapped SOL, with the Raydium AMM program facilitating the swap. By comparing `preTokenBalances` and `postTokenBalances`, users can quantify token movements and correlate them with market trends or community activity.
175
-
176
- ## How to Use the Dataset
177
-
178
- ### Prerequisites
179
- - Proficiency in JSON processing (e.g., Python, JavaScript, or Rust).
180
- - Basic understanding of Solana’s transaction structure and DeFi concepts.
181
- - Optional: Lean environment for formal verification or dataset extension.
182
-
183
- ### Getting Started
184
- 1. **Clone or Download the Repository**:
185
- ```bash
186
- git clone https://huggingface.co/[your-username]/solfunmeme-transaction-cache
187
- cd solfunmeme-transaction-cache
188
- ```
189
-
190
- 2. **Explore Transaction Data**:
191
- - Navigate to `rpc_cache/` and inspect `method_getTransaction_signature_*.json` files.
192
- - Use a script to filter transactions involving the Raydium AMM program (`675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8`).
193
- - Identify trading activity by checking token balance changes:
194
- - **Buys**: SFM balance increases for an account.
195
- - **Sells**: SFM balance decreases.
196
-
197
- 3. **Example Python Script**:
198
- See `[read.py]`.
199
-
200
- 4. **Interpret Findings**:
201
- - Buys reflect community engagement or investment in SFM’s Hyper-Pump Mechanism.
202
- - Sells may indicate profit-taking or market adjustments.
203
- - Aggregate data to derive insights into trading volume, liquidity, or wallet activity.
204
-
205
-
206
- ## Limitations
207
-
208
- - **Temporal Scope**: The dataset reflects transactions up to the latest RPC query, typically limited to 1000 signatures per `getSignaturesForAddress` call. Continuous updates are needed for real-time analysis.
209
- - **Liquidity Constraints**: SFM’s low liquidity on Raydium may result in sparse or volatile transaction data, affecting analysis depth.
210
- - **Data Complexity**: Solana’s JSON-RPC responses are detailed and require parsing expertise to extract meaningful insights.
211
- - **Temporary Files**: The `rpc_cache/` directory includes temporary files (`temp_*.json`, `temp_*.txt`) for debugging, which are not primary analysis targets.
212
-
213
- ## Contributing
214
-
215
- We encourage contributions to enhance the dataset’s utility:
216
- 1. Fork this repository on Hugging Face.
217
- 2. Add new JSON caches, analysis scripts, or improved documentation.
218
- 3. Submit a pull request with a clear description of your changes.
219
- 4. For code contributions, update the `getSolfunmeme.lean` script on Codeberg and reference this dataset.
220
-
221
- Please report issues or suggest features on Codeberg. Verified users (via wallet-signed transactions) can participate in the SOLFUNMEME DAO to shape the project’s future.
222
-
223
- ## License
224
-
225
- This dataset is licensed under the MIT License (`LICENSE`), permitting free use, modification, and distribution, subject to the license terms.
226
-
227
- ## Contact
228
-
229
- Engage with the SOLFUNMEME community:
230
- - **Codeberg**: [https://codeberg.org/introspector/SOLFUNMEME](https://codeberg.org/introspector/SOLFUNMEME) (primary communication channel)
231
- - **Discord**: [https://discord.gg/WASKdrBBzu](https://discord.gg/WASKdrBBzu)
232
- - **Telegram**: [https://t.me/introsp3ctor](https://t.me/introsp3ctor)
233
- - **Twitter (Official)**: [https://x.com/zos_sfm](https://x.com/zos_sfm)
234
- - **Twitter (Developer)**: [https://twitter.com/introsp3ctor](https://twitter.com/introsp3ctor)
235
- - **Website**: [https://solfunmeme.com](https://solfunmeme.com)
236
-
237
- ## Acknowledgments
238
-
239
- - **James Michael DuPont (@introsp3ctor)**: Visionary behind SOLFUNMEME and the Zero Ontology System.
240
- - **Solana Community**: For providing scalable blockchain infrastructure.
241
- - **Lean Community**: For enabling formal verification of transaction data.
242
- - **Hugging Face**: For hosting this open-access dataset.
243
-
244
- This dataset empowers users to delve into the SOLFUNMEME ecosystem, uncovering insights into decentralized trading, meme propagation, and the innovative ZOS framework. Start exploring today!