This repository contains the IDL and generated clients for the Solana Loader V4 program.
This repository uses a Makefile as its command surface. Cross-cutting tasks
run via make <target> from the repository root, while per-package work can be
run with pnpm <task> inside clients/js or cargo <task> inside
clients/rust. Running make targets locally requires
toml-cli (cargo install toml-cli).
Generate the clients from the IDL (idl.json at the repository root):
make generate-clientsFormat, lint and test the JS client:
make format-check-js-clients-js
make lint-js-clients-js
make test-js-clients-jsThe JS client tests run against a local solana-test-validator, which
make test-js-clients-js starts and stops automatically.
Format, lint and test the Rust client:
make format-check-clients-rust
make clippy-clients-rust
make test-clients-rust