← 返回
效率工具 中文

solana-stream-light

For data pipelines, aggregators, or indexers, real-time account state streaming on Solana with light account hot/cold lifecycle tracking. Stream Light token...
面向数据管道、聚合器或索引器,提供 Solana 链上实时账户状态流,支持轻量账户冷热生命周期追踪。流转 Light 代币...
tilo-14
效率工具 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 561
下载
💾 4
安装
1
版本
#latest

概述

Data Streaming

Stream Light Protocol account state transitions via Laserstream gRPC.

Workflow

  1. Clarify intent
    • Recommend plan mode, if it's not activated
    • Use AskUserQuestion to resolve blind spots
    • All questions must be resolved before execution
  2. Identify references and skills
  3. Write plan file (YAML task format)
    • Use AskUserQuestion for anything unclear — never guess or assume
    • Identify blockers: permissions, dependencies, unknowns
    • Plan must be complete before execution begins
  4. Execute
    • Use Task tool with subagents for parallel research
    • Subagents load skills via Skill tool
    • Track progress with TodoWrite
  5. When stuck: spawn subagent with Read, Glob, Grep, DeepWiki MCP access and load skills/ask-mcp

When NOT to use

For simple account lookups, call get_account_interface from light-client. It races hot and cold lookups automatically.

This skill is for continuous data pipelines: aggregators, market makers, and indexers that need real-time state change notifications rather than point queries.

Domain references

AudienceReference
-----------------
All — shared architecture (read first)references/shared.md
Token accounts (SPL-compatible, 165 bytes)references/token-accounts.md
Mint accounts (borsh-deserialized, metadata)references/mint-accounts.md
Compressible PDAs (per-program, discriminator check)references/pdas.md

Account type decision

Streaming...Account typeKey difference
---------
SPL-compatible token balancesToken accountsPodAccount parsing, 165-byte layout
Mint supply, metadata, authoritiesMint accountsMint::deserialize, borsh layout
Your program's PDA stateCompressible PDAs8-byte discriminator check, per-program filter

Program addresses

ProgramAddress
------------------
Light Token ProgramcTokenmWW8bLPjZEBAUgYy3zKxQZW6VKi7bqNFEVv3m
Light System ProgramSySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7

External references

ResourceLink
----------------
Photon indexergithub.com/helius-labs/photon
Streaming tokens toolkitzkcompression.com/light-token/toolkits/for-streaming-tokens
Streaming mints toolkitzkcompression.com/light-token/toolkits/for-streaming-mints

SDK references

PackageLink
---------------
@lightprotocol/stateless.jsAPI docs
light-clientdocs.rs

Security

This skill does not pull, store, or transmit external secrets. It provides code patterns, documentation references, and development guidance only.

  • No credentials consumed. The skill requires no API keys, private keys, or signing secrets. env: [] is declared explicitly.
  • User-provided configuration. RPC endpoints, wallet keypairs, and authentication tokens (Privy, wallet adapters) are configured in the user's own application code — the skill only demonstrates how to use them.
  • API keys. Reference code uses HELIUS_API_KEY as a placeholder. For production, set your RPC provider key as an environment variable.
  • Subagent scope. This skill may spawn read-only subagents that use Read, Glob, and Grep to search the local repository. Restrict the working directory to your project.
  • Install source. npx skills add Lightprotocol/skills installs from the public GitHub repository (Lightprotocol/skills). Verify the source before running.
  • Audited protocol. Light Protocol smart contracts are independently audited. Reports are published at github.com/Lightprotocol/light-protocol/tree/main/audits.

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-30 03:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,335
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 147,783
developer-tools

solana-light-token-client

tilo-14
针对Solana代币客户端开发,Light Token比SPL便宜200倍且改动极小。技能涵盖创建铸造及关联账户指南……
★ 0 📥 886