Sends Sol to a Public Key using Rust.
This project expands on the example found in the solana cookbook. It shows how to use your Private Key to send Sol to a Public Key.
https://solanacookbook.com/references/basic-transactions.html
- solana-client = "1.18.16"
- solana-program = "1.18.16"
- solana-sdk = "1.18.16"
Make sure to provide the correct path to your Private Key json file on line 12.