1 stable release

6.1.0 Sep 1, 2025

#2 in #authority

Download history 84/week @ 2025-08-27 37/week @ 2025-09-03 11/week @ 2025-09-10 7/week @ 2025-09-24

97 downloads per month
Used in atlas-bpf-loader-program

MIT license

99KB
1K SLoC

An upgradeable BPF loader native program.

The upgradeable BPF loader is responsible for deploying, upgrading, and executing BPF programs. The upgradeable loader allows a program's authority to update the program at any time. This ability breaks the "code is law" contract that once a program is on-chain it is immutable. Because of this, care should be taken before executing upgradeable programs which still have a functioning authority. For more information refer to the instruction module.

The atlas program deploy CLI command uses the upgradeable BPF loader. Calling atlas program deploy --final deploys a program that cannot be upgraded, but it does so by revoking the authority to upgrade, not by using the non-upgradeable loader.

Dependencies

~2.2–4MB
~87K SLoC