Deploying Solana Smart Contract with NodeJS

You can deploy contracts via the command line but I found it much easier to have a script which takes a compiled .so file and deploys it. I used NodeJS and the @solana/web3.js module for this. Some example code with methods for each stage can be found at: https://github.com/jamesbachini/Solana-JSON/blob/main/solana-json.js So the first step is to setup a connection …

Deploying Solana Smart Contract with NodeJS Read More »