OpenViSTAI · Agents · Blockchain · Crypto
Menu
Explorers & Analytics

Solana Txn

Solana Txn is an open-source Rust command-line project that listens for Solana blocks or retrieves gossip transactions, then prints transaction signatures, recent blockhashes and instructions. It includes a devnet RPC polling example and a WebSocket block-subscription example.

Independent OpenViST project profile, based on linked sources.

Solana Txn — OpenViST project profile in Explorers & Analytics.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you want a Rust starting point for inspecting Solana block or transaction details in a console, and select the documented gossip, RPC-polling or WebSocket path according to your data source.

Who it is for

  • Developers building or exploring command-line monitoring for Solana block and transaction data.
  • Rust users who want examples of Solana gossip, RPC polling or WebSocket block subscriptions.

Documented uses

  • Poll a specified slot range through Solana RPC and fetch block transaction details.
  • Pull transactions from the Solana gossip cluster.
  • Subscribe to incoming blocks with the WebSocket example.
  • Print transaction signatures, recent blockhashes and instructions.
Before you choose

Requirements & limits

The repository is public and MIT-licensed. The README requires Rust 1.50.0 or later.

  • The RPC polling example connects to Solana devnet and polls a specified slot range.
  • The WebSocket block-subscription example requires the Solana node flag --rpc-pubsub-enable-block-subscription.
  • The project lists Solana client, SDK, transaction-status, gossip and streamer dependencies, plus Tokio.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Build and start the documented listener

Build the Rust project and start its block listener using the README's commands.

Before you start

  • Rust 1.50.0 or later
  • A shell environment for the documented Git and Cargo commands

Steps

  1. Clone the repository with the command below.

    Documented command
    git clone git@github.com:JoshuaSum/solana-txn.git
  2. Change into the project directory as directed by the README.

  3. Build with the command below.

    Documented command
    cargo build --release
  4. Start the listener with the command below.

    Documented command
    cargo run --release

Expected outcome

The README describes a listener that fetches block details and prints transaction information to the console.

Guide limitations

  • The README's clone command and directory name differ: it clones solana-txn but directs the reader to enter solana-block-listener.
  • The documented RPC polling example connects to Solana devnet.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 October 2026
Original website title
JoshuaSum/solana-txn · Official homepage title · retained in its source language