2 stable releases

1.0.1 May 15, 2023

#26 in #lab

MIT license

24KB
455 lines

Upgrade program

License: MIT Crates.io Docs.rs

Distributed Lab Solana upgrade program can be useful for managing program upgrades by ECDSA sekp256k1 signature and also provides an example how to execute program upgrades by other programs.

Here is an article that describes how to use or implement the similar contract.

Build

npm run build:upgrade-program

Deploy

solana program deploy --program-id ./dist/program/upgrade-keypair.json ./dist/program/upgrade.so

Dependencies

~17–26MB
~445K SLoC