https://github.com/solana-program/system
The Solana System program and its clients
https://github.com/solana-program/system
Last synced: 7 months ago
JSON representation
The Solana System program and its clients
- Host: GitHub
- URL: https://github.com/solana-program/system
- Owner: solana-program
- License: apache-2.0
- Created: 2024-03-08T14:41:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-11T02:49:54.000Z (8 months ago)
- Last Synced: 2025-04-02T08:05:50.740Z (7 months ago)
- Language: Rust
- Size: 700 KB
- Stars: 24
- Watchers: 5
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-solana-security - Solana system program
README
# 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.
```sh
pnpm install
```
## Generating clients
You can generate clients for them using the following command.
```sh
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.
- [JS client](./clients/js)
- [Rust client](./clients/rust)
## Starting and stopping the local validator
The following script is available to start your local validator.
```sh
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.
```sh
pnpm validator:restart
```
Finally, you may stop the local validator using the following command.
```sh
pnpm validator:stop
```