Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 7881

Proper way to interact with BPF_LOADER_PROGRAM in Web3JS

$
0
0

What is the expected way to interact with the BPFUpgradeLoader using the Solana Web3 JS SDK? It appears the web3.BPF_LOADER_PROGRAM_ID is marked as deprecated, but it offers no clear alternative.

What is the proper way to do this? I needed to change the upgrade authority from one public key to another as part of a script and wanted to do this in the most idiomatic way possible. I don't want to ignore the deprecated notice and send a transaction to the loader program. Is there a better way to do this?


Viewing all articles
Browse latest Browse all 7881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>