An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

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
```