Note: We're expecting you have both
rustandsolana cliinstalled. If you are running on the MacOS M1 and encounter issues, we suggest NOT to use brew to install rust, instead use curl or install from source.
examples_baremtal/ creates inside target/zsh
npm i
npm run build
zsh
solana config set --url localhost
localhost:8899, same as running solana-test-validator --resetzsh
npm run start-local-cluster
zsh
solana logs
zsh
npm run deploy:n
where
nis example number from 1 to 7 what this script does in the backgroundsolana program deploy ./examples_baremetal/target/deploy/nameOfExampleProgram.so
client/ within each examplezsh
npm run call:n
where n is example number from 1 to 7
```zsh solana config set --url https://api.devnet.solana.com
# or
solana config set --url devnet ```
$ claude mcp add SolanaBootcamp \
-- python -m otcore.mcp_server <graph>