Skip to content

Repository files navigation

Loader V3

This repository contains the IDL and generated clients for the Solana BPF Loader Upgradeable (v3) 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 in-process against LiteSVM, so no local validator is required.

Format, lint and test the Rust client:

make format-check-clients-rust
make clippy-clients-rust
make test-clients-rust

About

Solana BPF Loader Upgradeable (v3) program

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages