Decoders

Introduction

Decoders are the foundational layer of LYS’s data processing stack. They are specialized modules that interpret and transform raw blockchain instructions, logs, and token transfers into structured, enriched data. Each protocol - whether a DEX, launchpad, or validator client - has its own decoder that understands its unique logic and events.

Why decoders matter

Without decoders, raw blockchain data is nearly unusable for real-time decision-making. Decoders translate that noise into signals.

  • Raw input: low-level instructions and logs from Solana blocks

  • Decoded output: typed events with labeled fields (buy/sell, user, mint, amount, fees, bonding %, etc.)

  • Next layer: feeds into aggregation systems (for OHLCV, rug detection, volume spikes, user stats, etc.)

Architecture

Each decoder:

  • Parses transactions in real-time

  • Extracts known program IDs (per protocol)

  • Normalizes data into a shared schema

  • Streams decoded results into MongoDB + WebSocket servers

Use Cases

Decoders directly enable:

  • The Solexys frontend (launchpad strategy analysis)

  • Historical & real-time API access for clients

  • High-frequency bot pipelines

  • Real-time WSS subscriptions

  • Triggered alerts (volume, rug risk, top wallet moves)

Last updated