# Carbon documentation (Carbon 2.0)

> Carbon is the Rust framework for building Solana indexers and data pipelines. Start with the quickstart, then pick a datasource, a decoder and a guide.

Carbon streams Solana data from the source you choose, decodes it into typed Rust and hands it to your code. A pipeline has three parts:

- **Datasources** read Solana updates: Geyser gRPC streams, Solana RPC, historical crawlers, snapshots and provider APIs. See [Datasources](https://carbon.sevenlabs.org/datasources.md).
- **Decoders** turn raw accounts, instructions and events into Rust types, for 60+ programs or any program with an Anchor or Codama IDL. See [Decoders](https://carbon.sevenlabs.org/decoders.md).
- **Processors** are your code: they receive decoded data with its metadata. See [Processors](https://carbon.sevenlabs.org/concepts/processors.md).

## Start here

- [Quickstart](https://carbon.sevenlabs.org/quickstart.md): Decode live Meteora swaps from mainnet in five minutes. No account needed.
- [Introduction](https://carbon.sevenlabs.org/introduction.md): What Carbon is, what you can build and how the docs are organized.
- [Guides](https://carbon.sevenlabs.org/guides/generate-a-decoder.md): Generate decoders, stream in real time, backfill, persist and run in production.
- [API reference](https://carbon.sevenlabs.org/reference/pipeline-builder.md): Every builder method, type, trait, metric, error and CLI flag.

Using a coding agent? See [For AI agents](https://carbon.sevenlabs.org/agents.md).

---

Carbon 2.0.0 documentation · Web: https://carbon.sevenlabs.org/ · Last updated 2026-11-09 · Index of all pages: https://carbon.sevenlabs.org/llms.txt
