Programming Fundamentals

Monorepo

A software development strategy where multiple related packages, programs, or applications are stored in a single version-controlled repository. In Solana development, monorepos commonly contain multiple on-chain programs, their test suites, client SDKs, and frontend applications in one repository. Tools like Cargo workspaces (Rust), npm/pnpm workspaces (TypeScript), and Anchor's workspace configuration support monorepo patterns, enabling shared dependencies and atomic cross-package changes.

IDmonorepo

Plain meaning

Start with the shortest useful explanation before going deeper.

A software development strategy where multiple related packages, programs, or applications are stored in a single version-controlled repository. In Solana development, monorepos commonly contain multiple on-chain programs, their test suites, client SDKs, and frontend applications in one repository. Tools like Cargo workspaces (Rust), npm/pnpm workspaces (TypeScript), and Anchor's workspace configuration support monorepo patterns, enabling shared dependencies and atomic cross-package changes.

Mental model

Use the quick analogy first so the term is easier to reason about when you meet it in code, docs, or prompts.

Think of it as a building block that connects one definition to the larger Solana system around it.

Technical context

Place the term inside its Solana layer so the definition is easier to reason about.

Serialization, memory, data structures, and core engineering basics.

Why builders care

Turn the term from vocabulary into something operational for product and engineering work.

This term unlocks adjacent concepts quickly, so it works best when you treat it as a junction instead of an isolated definition.

AI handoff

AI handoff

Use this compact block when you want to give an agent or assistant grounded context without dumping the entire page.

Monorepo (monorepo)
Category: Programming Fundamentals
Definition: A software development strategy where multiple related packages, programs, or applications are stored in a single version-controlled repository. In Solana development, monorepos commonly contain multiple on-chain programs, their test suites, client SDKs, and frontend applications in one repository. Tools like Cargo workspaces (Rust), npm/pnpm workspaces (TypeScript), and Anchor's workspace configuration support monorepo patterns, enabling shared dependencies and atomic cross-package changes.
Related: Anchor.toml, CI/CD (Continuous Integration / Deployment), Git
Glossary Copilot

Ask grounded Solana questions without leaving the glossary.

Use glossary context, relationships, mental models, and builder paths to get structured answers instead of generic chat output.

Explain this code

Optional: paste Anchor, Solana, or Rust code so the Copilot can map primitives back to glossary terms.

Ask a glossary-grounded question

Ask a glossary-grounded question

The Copilot will answer using the current term, related concepts, mental models, and the surrounding glossary graph.

Concept graph

See the term as part of a network, not a dead-end definition.

These branches show which concepts this term touches directly and what sits one layer beyond them.

Branch

Anchor.toml

The configuration file at the root of every Anchor project that defines program IDs, cluster endpoints, wallet paths, test scripts, and deployment settings. Key sections include [programs] (mapping program names to pubkeys per cluster), [provider] (default cluster and wallet), [scripts] (custom test commands), and [test] (test framework configuration). Anchor CLI commands read this file to determine build and deployment targets.

Branch

CI/CD (Continuous Integration / Deployment)

Automated pipelines that build, test, and deploy code when changes are pushed. For Solana programs: CI runs `anchor build`, `anchor test`, linting, and security checks. CD automates deployment to devnet/mainnet with multisig approval. GitHub Actions, GitLab CI, and Vercel are common tools. CI/CD catches bugs early and ensures reproducible builds.

Branch

Git

A distributed version control system for tracking code changes across development teams. Essential for Solana development workflows: feature branches for program changes, pull requests for code review, tags for release versions. Solana Verify uses git repos to verify on-chain programs match public source. GitHub hosts most Solana ecosystem repositories.

Next concepts to explore

Keep the learning chain moving instead of stopping at one definition.

These are the next concepts worth opening if you want this term to make more sense inside a real Solana workflow.

Developer Tools

Anchor.toml

The configuration file at the root of every Anchor project that defines program IDs, cluster endpoints, wallet paths, test scripts, and deployment settings. Key sections include [programs] (mapping program names to pubkeys per cluster), [provider] (default cluster and wallet), [scripts] (custom test commands), and [test] (test framework configuration). Anchor CLI commands read this file to determine build and deployment targets.

Programming Fundamentals

CI/CD (Continuous Integration / Deployment)

Automated pipelines that build, test, and deploy code when changes are pushed. For Solana programs: CI runs `anchor build`, `anchor test`, linting, and security checks. CD automates deployment to devnet/mainnet with multisig approval. GitHub Actions, GitLab CI, and Vercel are common tools. CI/CD catches bugs early and ensures reproducible builds.

Programming Fundamentals

Git

A distributed version control system for tracking code changes across development teams. Essential for Solana development workflows: feature branches for program changes, pull requests for code review, tags for release versions. Solana Verify uses git repos to verify on-chain programs match public source. GitHub hosts most Solana ecosystem repositories.

Programming Fundamentals

Node.js

A JavaScript runtime built on Chrome's V8 engine that enables server-side JavaScript execution. Node.js uses an event-driven, non-blocking I/O model. In the Solana ecosystem, Node.js is used for: running Anchor tests (Mocha/Jest), backend services, transaction bots, indexers, and CLI tools. npm/yarn/pnpm manage JavaScript package dependencies.

Related terms

Follow the concepts that give this term its actual context.

Glossary entries become useful when they are connected. These links are the shortest path to adjacent ideas.

Developer Toolsanchor-toml

Anchor.toml

The configuration file at the root of every Anchor project that defines program IDs, cluster endpoints, wallet paths, test scripts, and deployment settings. Key sections include [programs] (mapping program names to pubkeys per cluster), [provider] (default cluster and wallet), [scripts] (custom test commands), and [test] (test framework configuration). Anchor CLI commands read this file to determine build and deployment targets.

Programming Fundamentalsci-cd

CI/CD (Continuous Integration / Deployment)

Automated pipelines that build, test, and deploy code when changes are pushed. For Solana programs: CI runs `anchor build`, `anchor test`, linting, and security checks. CD automates deployment to devnet/mainnet with multisig approval. GitHub Actions, GitLab CI, and Vercel are common tools. CI/CD catches bugs early and ensures reproducible builds.

Programming Fundamentalsgit

Git

A distributed version control system for tracking code changes across development teams. Essential for Solana development workflows: feature branches for program changes, pull requests for code review, tags for release versions. Solana Verify uses git repos to verify on-chain programs match public source. GitHub hosts most Solana ecosystem repositories.

More in category

Stay in the same layer and keep building context.

These entries live beside the current term and help the page feel like part of a larger knowledge graph instead of a dead end.

Programming Fundamentals

Rust

A systems programming language emphasizing memory safety, zero-cost abstractions, and concurrency without a garbage collector. Rust uses an ownership model with borrow checking at compile time to prevent data races and null pointer bugs. It is the primary language for Solana program development (via Anchor or native solana-program crate) and the Agave validator client.

Programming Fundamentals

TypeScript

A statically typed superset of JavaScript that compiles to plain JavaScript. TypeScript adds type annotations, interfaces, generics, and enums to catch errors at compile time. It is the standard language for Solana client-side development—wallet adapters, dApp frontends, test suites, and SDK interactions (web3.js, Anchor client) are typically written in TypeScript.

Programming Fundamentals

JavaScript

The ubiquitous scripting language for web development, running in browsers and Node.js. JavaScript is dynamically typed and event-driven. Most Solana dApp frontends and scripts use JavaScript/TypeScript with libraries like @solana/web3.js. Node.js enables server-side JS for backend services, indexers, and bot development.

Programming Fundamentals

Node.js

A JavaScript runtime built on Chrome's V8 engine that enables server-side JavaScript execution. Node.js uses an event-driven, non-blocking I/O model. In the Solana ecosystem, Node.js is used for: running Anchor tests (Mocha/Jest), backend services, transaction bots, indexers, and CLI tools. npm/yarn/pnpm manage JavaScript package dependencies.