@solana-program/memo
v0.11.2
Published
JavaScript client for the Memo program
Downloads
442,248
Readme
JavaScript client
A generated JavaScript library for the Memo 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-jsThis installs dependencies, builds the client, and runs the test suite. The memo program is loaded into LiteSVM from the .so artifact that CI's build-sbf-program job (or your local make build-sbf-program) emits to target/deploy/pinocchio_memo_program.so.
Available client scripts
Alternatively, you can go into the client directory and run the scripts directly.
cd clients/js
pnpm install
pnpm build
pnpm testYou may also use the following scripts to lint and/or format your JavaScript client.
pnpm lint
pnpm lint:fix
pnpm format
pnpm format:fixEquivalent make targets from the repo root are make lint-js-clients-js and make format-check-js-clients-js.
