explaingit

solana-labs/solana

Analysis updated 2026-06-24

14,873RustAudience · developerComplexity · 5/5Setup · hard

TLDR

Archived Rust implementation of the original Solana blockchain validator node. Active development has moved to anza-xyz/agave.

Mindmap

mindmap
  root((solana))
    Inputs
      Validator config
      Genesis files
      Keypairs
    Outputs
      Block production
      RPC endpoints
      Cluster state
    Use Cases
      Run a validator
      Connect to devnet
      Study reference code
    Tech Stack
      Rust
      Cargo
      Protobuf
      LLVM
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Read the original reference implementation of a Solana validator to study consensus and runtime internals.

USE CASE 2

Spin up a local Solana test network on a workstation for offline contract development.

USE CASE 3

Connect a local node to the public devnet cluster to send and inspect transactions.

USE CASE 4

Fork the archived code as a starting point for a research blockchain or a custom Solana variant.

What is it built with?

RustCargoProtobufLLVMClang

How does it compare?

solana-labs/solanarust-lang/cargoneovide/neovide
Stars14,87314,94914,989
LanguageRustRustRust
Setup difficultyhardmoderateeasy
Complexity5/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Compiling the validator needs a working Rust toolchain plus system libraries (openssl, llvm, clang, cmake, protobuf) and substantial disk space.

In plain English

This repository holds the original Rust implementation of the Solana blockchain node, written by Solana Labs. The first line of the README is the important one: the repo is now a public archive. It still exists so people can read or fork the reference code, but active development has moved elsewhere. The README points readers to Agave, a continuation of the validator software maintained by a separate company called Anza, at github.com/anza-xyz/agave. Solana itself is a public blockchain that markets itself for fast, scalable applications and marketplaces. The repository description calls it a web-scale blockchain. The README does not go into how the blockchain works, it focuses on how to build and test the node software from source. The build instructions are aimed at Rust developers. You install rustc, cargo, and rustfmt through rustup, then on Linux you install some system libraries like openssl, pkg-config, zlib, llvm, clang, cmake, and protobuf. After cloning the repo you run a wrapper script./cargo build, to compile the node. There is a test suite run with ./cargo test, and instructions for starting a local test network or connecting to the public devnet cluster at devnet.solana.com. The README closes with a long legal disclaimer about export controls and US sanctions law, noting that the code is provided for educational purposes and that users in sanctioned jurisdictions are not permitted to use it.

Copy-paste prompts

Prompt 1
Walk me through the modules in solana-labs/solana that handle block production and explain how leader rotation flows through the code.
Prompt 2
Build the solana validator from source on Ubuntu with rustup, openssl, llvm, clang, cmake, and protobuf installed.
Prompt 3
Start a local Solana test cluster with one validator and one RPC node, then send a transfer transaction from the CLI.
Prompt 4
Diff the archived solana-labs/solana repo against anza-xyz/agave and summarize what changed in the validator entry point.
Prompt 5
Run the full Solana test suite with ./cargo test and capture failures into a markdown report.

Frequently asked questions

What is solana?

Archived Rust implementation of the original Solana blockchain validator node. Active development has moved to anza-xyz/agave.

What language is solana written in?

Mainly Rust. The stack also includes Rust, Cargo, Protobuf.

How hard is solana to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is solana for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.