Skip to content

solana-program/system

Repository files navigation

System

The Solana System program and its generated clients.

Project setup

The first thing you'll want to do is install NPM dependencies which will allow you to access all the scripts and tools provided by this template.

pnpm install

Generating clients

You can generate clients for them using the following command.

pnpm generate:clients

Managing clients

The following clients are available for the System program. You may use the following links to learn more about each client.

Starting and stopping the local validator

The following script is available to start your local validator.

pnpm validator:start

By default, if a local validator is already running, the script will be skipped. You may use the validator:restart script instead to force the validator to restart.

pnpm validator:restart

Finally, you may stop the local validator using the following command.

pnpm validator:stop