Shyft Solana DeFi Resources

repository·main·Indexed 43 days ago

https://github.com/shyft-to/solana-defi

A collection of high-performance Solana DeFi resources and example implementations in TypeScript, Rust, and Python. It provides tools for streaming data via gRPC and interacting with major Solana DEXs such as Raydium, Pumpfun, Orca, and Meteora, including implementations for block streaming, latency measurement, and stream monitoring.

Tokens
231.8K
Snippets
736
Records
952
Agent score
55%

What's inside Shyft Solana DeFi

  1. Overview of Raydium Launchpad gRPC streaming and parsing

    main

    This project enables real-time streaming and intelligent parsing of Raydium Launchpad account updates on the Solana blockchain using Shyft’s gRPC stream API.

    Core Capabilities

    • Real-time Account Streaming: Subscribes to all Raydium Launchpad account changes for immediate updates.
    • Structured Account Parsing: Uses Marshmallow schema definitions to decode on-chain data, extracting properties from pool states, global config, and vesting records.
    • IDL Integration: Fully supports the Raydium Launchpad Interface Definition Language (IDL) for seamless decoding of smart contract accounts.
    • Low Latency: Built on Shyft gRPC to ensure fast access to blockchain events, suitable for time-sensitive DeFi applications.
  2. Overview of Raydium Launchpad gRPC streaming

    main

    This project provides a high-performance solution for real-time monitoring of the Raydium ecosystem. It is designed for developers and analysts who need low-latency access to Raydium Launchpad transaction data.

    Key Capabilities:

    • Efficient Retrieval: Uses Solana Shyft gRPC for fast access to blockchain data.
    • Structured Parsing: Automatically decodes transaction instructions using @shyft-to/solana-transaction-parser to provide readable, actionable insights.
    • Scalable Design: Optimized for high-throughput processing and low latency.
    • Configuration: Supports .env files for managing authentication credentials securely.
  3. Overview of Meteora dammV2 event detection

    main

    The system uses Rabbitstream to monitor the Solana blockchain for Meteora dammV2 transactions. It performs the following tasks:

    • Streaming: Real-time ingestion of transaction data.
    • Decoding: Interprets both Meteora dammV2-specific instructions and standard Solana Token Program instructions.
    • Event Detection: Identifies and extracts buy and sell events.
    • Data Formatting: Converts raw on-chain data into a clean, serializable structure suitable for downstream analysis or automated trading bots.
  4. Overview of PumpFun Token Mint Monitoring with Shredstream

    main

    This project implements a high-performance Rust-based pipeline designed to monitor PumpFun token launches. It uses Shredstream to subscribe to the Solana blockchain and stream compiled transaction instructions in real time.

    Key capabilities include:

    • Newly Minted Token Detection: Automatically identifies transactions involving new token mints on PumpFun.
    • Live Instruction Streaming: Uses Shredstream for low-latency access to Solana blockchain data.
    • Instruction-Level Decoding: Translates raw bytecode into structured, human-readable formats using Interface Definition Language (IDL).
    • Configurable Deployment: Supports custom Shredstream endpoints and secure credential handling.
  5. Overview of Solana DeFi Resources

    main

    The solana-defi repository provides ready-to-use example code for interacting with major Solana Decentralized Exchanges (DEXs) and streaming data via gRPC. It is designed to help developers handle complex tasks like parsing IDLs and streaming real-time data using TypeScript and Rust.

    Supported DEXs and use cases include:

    • Raydium
    • Pumpfun
    • Orca
    • Meteora
  6. Overview of Raydium Launchpad transaction streaming

    main

    This project provides real-time streaming and parsing of Raydium Launchpad transaction instructions via gRPC. It is designed for high-performance, low-latency data extraction by decoding transaction data on the fly into structured formats.

    Key Features:

    • Efficient Retrieval: Uses Solana Shyft gRPC for fast access to blockchain data.
    • Accurate Parsing: Uses @shyft-to/solana-transaction-parser for structured decoding.
    • Raydium Launchpad IDL: Provides easy access to the necessary IDL for parsing.
  7. Overview of Pumpfun AMM streaming and parsing

    main

    This project provides a high-performance Rust implementation for streaming Pumpfun AMM transactions on Solana using Rabbitstream.

    Key Features:

    • Real-time Streaming: Targets the Pumpfun AMM program (pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA).
    • Instruction Parsing: Efficiently extracts and parses instructions from both the Pumpfun AMM and the Token Program.
    • High Throughput: Built with Rust to leverage strong type safety and concurrency for high-speed decoding.
    • Downstream Integration: Parsed instructions are structured into a serializable format, making them ready for use in other systems or analysis tools.
  8. Overview of Raydium CLMM Account Streaming

    main
    This project provides a high-efficiency solution for monitoring Raydium CLMM account updates on the Solana blockchain. It uses gRPC services to continuously monitor on-chain events and extract essential liquidity pool data. This is designed for DeFi applications that require real-time, accurate, and low-latency access to liquidity pool state information.
  9. Overview of Raydium Launchpad Pool Tracker

    main

    This project provides real-time tracking and parsing of new Raydium Launchpad pool transactions. It uses Solana Shyft gRPC for low-latency data streaming and @shyft-to/solana-transaction-parser to decode transactions into structured data.

    Key Features:

    • Efficient Transaction Retrieval: Uses Solana Shyft gRPC for fast access to blockchain data.
    • Accurate Parsing: Leverages @shyft-to/solana-transaction-parser for readable decoding.
    • Raydium Launchpad IDL Access: Provides access to the Raydium Launchpad Interface Definition Language for integration.
  10. Overview of Meteora Damm v2 transaction monitoring

    main

    This project is a high-performance Rust implementation designed to stream and parse Meteora Damm v2 transactions on Solana using gRPC.

    Key Capabilities:

    • Real-time Monitoring: Captures buy and sell events as they occur on the blockchain.
    • Instruction Decoding: Interprets raw data from both the Meteora Damm protocol and the Solana Token Program.
    • Structured Data: Transforms raw blockchain instructions into a clean, serializable format suitable for downstream analytics and market trend tracking.
    • High Throughput: Leverages Rust for efficient handling of real-time data streams.
  11. Overview of Meteora DLMM event detection

    main

    The streamer provides real-time insights into the Meteora DLMM ecosystem by interpreting dynamic liquidity provisioning mechanics. It specifically tracks how pricing adjusts based on bin-based liquidity and trade direction.

    Key capabilities include:

    • Real-time streaming: Uses gRPC to capture live transactions.
    • Event detection: Identifies buy and sell events from both the Meteora DLMM and the Token Program.
    • Structured data: Outputs parsed data designed for downstream analysis of user behavior, liquidity flow, and trading dynamics.
  12. Overview of Pumpfun AMM gRPC streaming

    main

    This Rust-based implementation provides high-performance, real-time gRPC streaming of Pumpfun AMM transactions on Solana.

    Key Features:

    • Target Program: Specifically monitors pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA.
    • Instruction Parsing: Efficiently decodes instructions from the Pumpfun AMM and the Token Program.
    • High Throughput: Leverages Rust's concurrency and type safety for high-speed decoding.
    • Downstream Integration: Parsed instructions are structured into a serializable format for easy consumption by other systems.