Skip to content

Commit

Permalink
Text fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkamo committed Feb 9, 2024
1 parent dc2ebb3 commit c29f2c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func main() {
}
```

Once you have the swap instructions, you can use the [Solana engine](solana/client.go) to sign and send the transaction on-chain.
Once you have the swap instructions, you can use the [Solana client](solana/client.go) to sign and send the transaction on-chain.
Please remember, when a transaction is sent on-chain it doesn't mean that the swap is completed. The instruction could error, that's why you should monitor the transaction status and confirm the transaction is finalized without errors.

```go
Expand All @@ -96,7 +96,7 @@ func main() {
// handle me
}

// Create a Solana engine
// Create a Solana client
solanaClient, err := solana.NewClient(wallet, "https://api.mainnet-beta.solana.com")
if err != nil {
// handle me
Expand Down

0 comments on commit c29f2c1

Please sign in to comment.