npm.io
0.13.0 • Published 6d ago

@solana-program/system

Licence
Apache-2.0
Version
0.13.0
Deps
0
Size
674 kB
Vulns
0
Weekly
0
Stars
76

JavaScript client

A generated JavaScript library for the System program.

Getting started

The JS client tests use LiteSVM in-process, so no local validator is needed. From the root of the repository:

make test-js-clients-js

This installs dependencies, builds the client, and runs the test suite.

Available client scripts

Alternatively, you can go into the client directory and run the scripts directly.

cd clients/js
pnpm install
pnpm build
pnpm test

You may also use the following scripts to lint and/or format your JavaScript client.

pnpm lint
pnpm lint:fix
pnpm format
pnpm format:fix

Equivalent make targets from the repo root are make lint-js-clients-js and make format-check-js-clients-js.