File size: 17,493 Bytes
87bfbec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
# SOLFUNMEME Transaction Cache Dataset

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.

## Dataset Description

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. 

The dataset abstracts raw transaction data into JSON files, enabling users to:
- Analyze trading activities, such as buy and sell transactions, on platforms like Raydium.
- Investigate SFM’s tokenomics, liquidity trends, and market behavior.
- Apply formal verification techniques (e.g., Lean-based proofs) to ensure transaction integrity.
- Explore the social and economic dynamics of meme propagation within the SOLFUNMEME community.
- Inform the development of ZOS-based applications, such as decentralized meme engines or trading bots.

## Key Features

- **Rich Transaction Metadata**: Captures block times, slots, account balances, token transfers, and program logs for comprehensive analysis.
- **SFM-Centric**: Focuses on the SFM token (BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump), covering trades, account creations, and token movements.
- **Optimized for Reusability**: Caches Solana RPC responses to reduce query overhead and ensure reproducibility.
- **Verification-Ready**: Structured to integrate with formal methods tools (e.g., Lean) for proving properties like token conservation and balance consistency.
- **Community-Aligned**: Supports the SOLFUNMEME project’s mission to foster decentralized, user-driven meme ecosystems.

## Data Sources

The dataset is generated by querying Solana’s mainnet RPC endpoint (https://api.mainnet-beta.solana.com) using two core methods:
1. **getSignaturesForAddress**: Retrieves transaction signatures for the SFM token address, indexing a wide range of activities, including trades, transfers, and account operations.
2. **getTransaction**: Provides detailed transaction metadata, including:
   - **Timing and Block Data**: Unix timestamps and Solana block heights (slots).
   - **Account Balances**: SOL balances (in lamports) before and after transactions.
   - **Token Balances**: Pre- and post-transaction balances for SFM and other tokens (e.g., Wrapped SOL).
   - **Program Interactions**: Execution logs from programs like Raydium AMM, SPL Token Program, System Program, and Compute Budget Program.
   - **Instructions**: Details of transaction instructions and nested inner instructions (e.g., token transfers within swaps).

## Dataset Contents

The dataset is organized as follows:

### rpc_cache/
- **method_getSignaturesForAddress_address_BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump_[hash].json**: Lists transaction signatures associated with the SFM token, serving as an index for further exploration.
- **method_getTransaction_signature_[signature].json**: Contains detailed transaction data, including metadata, balance changes, and program logs.
- **temp_*.json and temp_*.txt**: Temporary files storing request payloads, responses, and error logs for debugging and transparency.
- **README.md**: This file, providing an overview, usage instructions, and context.
- **LICENSE**: Specifies the terms of use for the dataset (e.g., MIT License).

## Data Structure

Each JSON file adheres to the Solana JSON-RPC 2.0 format, with key fields optimized for analysis:
- **result.blockTime**: Unix timestamp of the transaction.
- **result.slot**: Solana block height.
- **result.meta.preBalances** and **result.meta.postBalances**: SOL balances (in lamports) for accounts before and after the transaction.
- **result.meta.preTokenBalances** and **result.meta.postTokenBalances**: Token balances for SFM and other tokens, with fields:
  - **accountIndex**: Index in the transaction’s account list.
  - **mint**: Token mint address (e.g., BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump for SFM).
  - **uiTokenAmount.amount**: Token amount in smallest units.
  - **uiTokenAmount.uiAmountString**: Human-readable amount.
- **result.meta.logMessages**: Program execution logs, identifying interactions with Raydium, Token Program, etc.
- **result.transaction.message.instructions**: Instructions executed, including program IDs and account indices.
- **result.transaction.message.addressTableLookups**: Address table lookups for additional account resolution.

## Potential Use Cases

This dataset enables a range of applications:
- **Trading Pattern Analysis**: Identify buy and sell transactions by examining token balance changes, supporting studies of market dynamics and investor behavior.
- **Tokenomics Research**: Analyze SFM’s supply, liquidity, and trading volume to understand its role in the Solana meme coin ecosystem.
- **Formal Verification**: Use with Lean or other formal methods tools to prove transaction properties, such as non-negative balances or token conservation.
- **Community Mapping**: Study wallet interactions to uncover patterns of engagement within the SOLFUNMEME community, aligning with ZOS’s meme propagation goals.
- **DeFi Innovation**: Inform the development of ZOS-based tools, such as decentralized agents, trading algorithms, or governance mechanisms.
- **Educational Exploration**: Learn about Solana’s transaction model, DeFi protocols, and the intersection of blockchain and meme culture.

### Example Use Case: Identifying Trading Activity

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.

## How to Use the Dataset

### Prerequisites
- Proficiency in JSON processing (e.g., Python, JavaScript, or Rust).
- Basic understanding of Solana’s transaction structure and DeFi concepts.
- Optional: Lean environment for formal verification or dataset extension.

### Getting Started
1. **Clone or Download the Repository**:
   ```bash
   git clone https://huggingface.co/[your-username]/solfunmeme-transaction-cache
   cd solfunmeme-transaction-cache

   Here is the reformatted Markdown with proper heading levels:

```markdown
# SOLFUNMEME Transaction Cache Dataset

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.

## Dataset Description

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. 

The dataset abstracts raw transaction data into JSON files, enabling users to:
- Analyze trading activities, such as buy and sell transactions, on platforms like Raydium.
- Investigate SFM’s tokenomics, liquidity trends, and market behavior.
- Apply formal verification techniques (e.g., Lean-based proofs) to ensure transaction integrity.
- Explore the social and economic dynamics of meme propagation within the SOLFUNMEME community.
- Inform the development of ZOS-based applications, such as decentralized meme engines or trading bots.

## Key Features

- **Rich Transaction Metadata**: Captures block times, slots, account balances, token transfers, and program logs for comprehensive analysis.
- **SFM-Centric**: Focuses on the SFM token (BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump), covering trades, account creations, and token movements.
- **Optimized for Reusability**: Caches Solana RPC responses to reduce query overhead and ensure reproducibility.
- **Verification-Ready**: Structured to integrate with formal methods tools (e.g., Lean) for proving properties like token conservation and balance consistency.
- **Community-Aligned**: Supports the SOLFUNMEME project’s mission to foster decentralized, user-driven meme ecosystems.

## Data Sources

The dataset is generated by querying Solana’s mainnet RPC endpoint (https://api.mainnet-beta.solana.com) using two core methods:
1. **getSignaturesForAddress**: Retrieves transaction signatures for the SFM token address, indexing a wide range of activities, including trades, transfers, and account operations.
2. **getTransaction**: Provides detailed transaction metadata, including:
   - **Timing and Block Data**: Unix timestamps and Solana block heights (slots).
   - **Account Balances**: SOL balances (in lamports) before and after transactions.
   - **Token Balances**: Pre- and post-transaction balances for SFM and other tokens (e.g., Wrapped SOL).
   - **Program Interactions**: Execution logs from programs like Raydium AMM, SPL Token Program, System Program, and Compute Budget Program.
   - **Instructions**: Details of transaction instructions and nested inner instructions (e.g., token transfers within swaps).

## Dataset Contents

The dataset is organized as follows:
```
.
├── rpc_cache/
│   ├── method_getSignaturesForAddress_address_BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump_[hash].json
│   ├── method_getTransaction_signature_[signature].json
│   ├── temp_[cacheKey]_request.json
│   ├── temp_[cacheKey]_response.json
│   └── temp_[cacheKey]_error.txt
├── README.md
└── LICENSE
```

### rpc_cache/
- **method_getSignaturesForAddress_address_BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump_[hash].json**: Lists transaction signatures associated with the SFM token, serving as an index for further exploration.
- **method_getTransaction_signature_[signature].json**: Contains detailed transaction data, including metadata, balance changes, and program logs.
- **temp_*.json and temp_*.txt**: Temporary files storing request payloads, responses, and error logs for debugging and transparency.
- **README.md**: This file, providing an overview, usage instructions, and context.
- **LICENSE**: Specifies the terms of use for the dataset (e.g., MIT License).

## Data Structure

Each JSON file adheres to the Solana JSON-RPC 2.0 format, with key fields optimized for analysis:
- **result.blockTime**: Unix timestamp of the transaction.
- **result.slot**: Solana block height.
- **result.meta.preBalances** and **result.meta.postBalances**: SOL balances (in lamports) for accounts before and after the transaction.
- **result.meta.preTokenBalances** and **result.meta.postTokenBalances**: Token balances for SFM and other tokens, with fields:
  - **accountIndex**: Index in the transaction’s account list.
  - **mint**: Token mint address (e.g., BwUTq7fS6sfUmHDwAiCQZ3asSiPEapW5zDrsbwtapump for SFM).
  - **uiTokenAmount.amount**: Token amount in smallest units.
  - **uiTokenAmount.uiAmountString**: Human-readable amount.
- **result.meta.logMessages**: Program execution logs, identifying interactions with Raydium, Token Program, etc.
- **result.transaction.message.instructions**: Instructions executed, including program IDs and account indices.
- **result.transaction.message.addressTableLookups**: Address table lookups for additional account resolution.

## Potential Use Cases

This dataset enables a range of applications:
- **Trading Pattern Analysis**: Identify buy and sell transactions by examining token balance changes, supporting studies of market dynamics and investor behavior.
- **Tokenomics Research**: Analyze SFM’s supply, liquidity, and trading volume to understand its role in the Solana meme coin ecosystem.
- **Formal Verification**: Use with Lean or other formal methods tools to prove transaction properties, such as non-negative balances or token conservation.
- **Community Mapping**: Study wallet interactions to uncover patterns of engagement within the SOLFUNMEME community, aligning with ZOS’s meme propagation goals.
- **DeFi Innovation**: Inform the development of ZOS-based tools, such as decentralized agents, trading algorithms, or governance mechanisms.
- **Educational Exploration**: Learn about Solana’s transaction model, DeFi protocols, and the intersection of blockchain and meme culture.

### Example Use Case: Identifying Trading Activity

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.

## How to Use the Dataset

### Prerequisites
- Proficiency in JSON processing (e.g., Python, JavaScript, or Rust).
- Basic understanding of Solana’s transaction structure and DeFi concepts.
- Optional: Lean environment for formal verification or dataset extension.

### Getting Started
1. **Clone or Download the Repository**:
   ```bash
   git clone https://huggingface.co/[your-username]/solfunmeme-transaction-cache
   cd solfunmeme-transaction-cache
   ```

2. **Explore Transaction Data**:
   - Navigate to `rpc_cache/` and inspect `method_getTransaction_signature_*.json` files.
   - Use a script to filter transactions involving the Raydium AMM program (`675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8`).
   - Identify trading activity by checking token balance changes:
     - **Buys**: SFM balance increases for an account.
     - **Sells**: SFM balance decreases.

3. **Example Python Script**:
   See `[read.py]`.

4. **Interpret Findings**:
   - Buys reflect community engagement or investment in SFM’s Hyper-Pump Mechanism.
   - Sells may indicate profit-taking or market adjustments.
   - Aggregate data to derive insights into trading volume, liquidity, or wallet activity.


## Limitations

- **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.
- **Liquidity Constraints**: SFM’s low liquidity on Raydium may result in sparse or volatile transaction data, affecting analysis depth.
- **Data Complexity**: Solana’s JSON-RPC responses are detailed and require parsing expertise to extract meaningful insights.
- **Temporary Files**: The `rpc_cache/` directory includes temporary files (`temp_*.json`, `temp_*.txt`) for debugging, which are not primary analysis targets.

## Contributing

We encourage contributions to enhance the dataset’s utility:
1. Fork this repository on Hugging Face.
2. Add new JSON caches, analysis scripts, or improved documentation.
3. Submit a pull request with a clear description of your changes.
4. For code contributions, update the `getSolfunmeme.lean` script on Codeberg and reference this dataset.

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.

## License

This dataset is licensed under the MIT License (`LICENSE`), permitting free use, modification, and distribution, subject to the license terms.

## Contact

Engage with the SOLFUNMEME community:
- **Codeberg**: [https://codeberg.org/introspector/SOLFUNMEME](https://codeberg.org/introspector/SOLFUNMEME) (primary communication channel)
- **Discord**: [https://discord.gg/WASKdrBBzu](https://discord.gg/WASKdrBBzu)
- **Telegram**: [https://t.me/introsp3ctor](https://t.me/introsp3ctor)
- **Twitter (Official)**: [https://x.com/zos_sfm](https://x.com/zos_sfm)
- **Twitter (Developer)**: [https://twitter.com/introsp3ctor](https://twitter.com/introsp3ctor)
- **Website**: [https://solfunmeme.com](https://solfunmeme.com)

## Acknowledgments

- **James Michael DuPont (@introsp3ctor)**: Visionary behind SOLFUNMEME and the Zero Ontology System.
- **Solana Community**: For providing scalable blockchain infrastructure.
- **Lean Community**: For enabling formal verification of transaction data.
- **Hugging Face**: For hosting this open-access dataset.

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!