Nav apraksta

Loris Leiva f5a599cd92 Use latest CLI version 9 mēneši atpakaļ
.github f1c7cc15ca refactor: Improve script reuse (#31) 11 mēneši atpakaļ
clients e0421c17a0 Add optional dependencies for fetch feature 9 mēneši atpakaļ
interface 96a04380ee interface: Add WASM build to CI and fix it (#28) 11 mēneši atpakaļ
program 5363ad31b5 Use Codama v1.0.0 (#15) 1 gadu atpakaļ
scripts c7b494072d Update Codama to 1.2.2 and use Codama CLI 9 mēneši atpakaļ
.gitignore cb9a8c794f First commit 1 gadu atpakaļ
.prettierrc b9dd270882 Update from latest `create-solana-program` (#11) 1 gadu atpakaļ
Cargo.lock e0421c17a0 Add optional dependencies for fetch feature 9 mēneši atpakaļ
Cargo.toml 43c0f57c8a interface: Add crate details (#26) 1 gadu atpakaļ
LICENSE db2a88443b Update LICENSE (#5) 1 gadu atpakaļ
README.md b9dd270882 Update from latest `create-solana-program` (#11) 1 gadu atpakaļ
codama.mjs f5a599cd92 Use latest CLI version 9 mēneši atpakaļ
package.json f5a599cd92 Use latest CLI version 9 mēneši atpakaļ
pnpm-lock.yaml f5a599cd92 Use latest CLI version 9 mēneši atpakaļ
rust-toolchain.toml 2593378df2 Add system interface (#16) 1 gadu atpakaļ
rustfmt.toml cb9a8c794f First commit 1 gadu atpakaļ

README.md

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