--- license: agpl-3.0 language: - en tags: - finance - code - solana - solfunmem - zero-ontology-system - zos - lean - json - experimental pretty_name: solfunmeme size_categories: - n>1T size_categories_planned: - n>1M size_categories_notes: We will have many more transactions --- # 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!