Skip to content

solana-program/loader-v4

Repository files navigation

Solana Loader V4

This repository contains the IDL and generated clients for the Solana Loader V4 program.

Clients

Developing

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

Format, lint and test the JS client:

make format-check-js-clients-js
make lint-js-clients-js
make test-js-clients-js

The 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

About

Solana BPF Loader v4 program

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors