(cherry picked from commit 22a2a4252a)

Co-authored-by: thepalmtrees <96289385+thepalmtrees@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2022-02-13 16:15:53 +00:00
committed by GitHub
parent 3e3fb4e296
commit b67a5bb3b9

View File

@ -147,7 +147,7 @@ sendAndConfirmTransaction(
); );
``` ```
The above code takes in a `TransactionInstruction` using `SystemProgram`, creates a `Transaction`, and sends it over the network. You use `Connection` in order to define with Solana network you are connecting to, namely `mainnet-beta`, `testnet`, or `devnet`. The above code takes in a `TransactionInstruction` using `SystemProgram`, creates a `Transaction`, and sends it over the network. You use `Connection` in order to define which Solana network you are connecting to, namely `mainnet-beta`, `testnet`, or `devnet`.
### Interacting with Custom Programs ### Interacting with Custom Programs