From c758873f2ed4b5eca2978152514585dc97e30080 Mon Sep 17 00:00:00 2001 From: banasa44 Date: Tue, 22 Jul 2025 11:59:29 +0200 Subject: [PATCH] chore(docs): small fixes/changes in go tutorials docs --- docs/tutorials/go/build-apps/get-started.md | 5 ++--- docs/tutorials/go/index.md | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/tutorials/go/build-apps/get-started.md b/docs/tutorials/go/build-apps/get-started.md index 8f94f0f847..631201a446 100644 --- a/docs/tutorials/go/build-apps/get-started.md +++ b/docs/tutorials/go/build-apps/get-started.md @@ -27,7 +27,6 @@ In this tutorial, you'll learn: - How to connect to the XRP Ledger using `xrpl-go`. - How to get an account on the [Testnet](/resources/dev-tools/xrp-faucets) using `xrpl-go`. - How to use the `xrpl-go` library to look up information about an account on the XRP Ledger. -- How to put these steps together to create a Java app. ## Requirements @@ -73,7 +72,7 @@ The sample code in the previous section shows you how to connect to the Testnet, ```go import "github.com/Peersyst/xrpl-go/xrpl/websocket" - const MyServer := "http://localhost:5005/" + const MyServer := "ws://localhost:6006/" client := websocket.NewClient(websocket.NewClientConfig().WithHost(MyServer)) ``` @@ -89,7 +88,7 @@ The sample code in the previous section shows you how to connect to the Testnet, ### 2. Get account -In `xrpl-go`, account creation and key management live in the wallet package, and on Testnet you can use the built-in faucet provider on your WebSocket client to fund a brand-new account immediately. +In `xrpl-go`, account creation and key management live in the wallet package, and on Testnet you can use the built-in faucet provider on your WebSocket (or RPC) client to fund a brand-new account immediately. Here we spin up a Testnet‐connected WebSocket client, generate a fresh ED25519 wallet, then fund it automatically via the public faucet. diff --git a/docs/tutorials/go/index.md b/docs/tutorials/go/index.md index 88796c6186..e6baea3531 100644 --- a/docs/tutorials/go/index.md +++ b/docs/tutorials/go/index.md @@ -8,7 +8,7 @@ metadata: # GoLang -You can create your own interface to try out the capabilities and support your specific business needs. These tutorials build a test harness interface to try out features of the XRP Ledger. The harness displays multiple accounts, so that you can transfer tokens from one account to the other and see the results in real time. +You can create your own interface to try out the capabilities and support your specific business needs. These tutorials build a test harness interface to try out features of the XRP Ledger. Typically, the example functions involve four steps.