program-examples

(★ 1,426)

A repository of Solana program examples

File Explorer

Showing a partial file list — download the zip above to see everything.

  • .gitignore
  • .nvmrc
  • .prettierignore
  • .prettierrc.json
  • AGENTS.md
  • Cargo.lock
  • Cargo.toml
  • CONTRIBUTING.md
  • LICENSE
  • package.json
  • pnpm-lock.yaml
  • README.md
  • rust-toolchain.toml
  • rustfmt.toml

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Showing a partial file list.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

pnpm

View Details ▼

Fast, disk space efficient package manager for Node.js.
Manage Node.js projects and their module dependencies.

pnpm init

Create a `package.json` file:

pnpm {{[i|install]}}

Download all the packages listed as dependencies in `package.json`:

pnpm add {{module_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

// repository documentation