From be42e80f080ffa733c7fe8537491a574ea68adde Mon Sep 17 00:00:00 2001 From: naavyas Date: Fri, 10 Jul 2026 15:15:14 -0400 Subject: [PATCH] Update tutorial references and code formatting in TypeScript guides --- _code-samples/get-started/ts/README.md | 2 +- docs/tutorials/get-started/get-started-typescript.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_code-samples/get-started/ts/README.md b/_code-samples/get-started/ts/README.md index 6b90fe1cb7..68edb95608 100644 --- a/_code-samples/get-started/ts/README.md +++ b/_code-samples/get-started/ts/README.md @@ -2,7 +2,7 @@ Connects to the XRP Ledger, gets account information, builds and validates a typed transaction, and subscribes to ledger events using TypeScript and `xrpl.js`. -To download the source code, see [Get Started Using TypeScript Library](https://xrpl.org/docs/tutorials/get-started/get-started-typescript). +To download the source code, see the [Get Started Using TypeScript tutorial](https://xrpl.org/docs/tutorials/get-started/get-started-typescript) on xrpl.org. ## Setup diff --git a/docs/tutorials/get-started/get-started-typescript.md b/docs/tutorials/get-started/get-started-typescript.md index 6b18497f53..d4a4d33e54 100644 --- a/docs/tutorials/get-started/get-started-typescript.md +++ b/docs/tutorials/get-started/get-started-typescript.md @@ -52,7 +52,7 @@ In this tutorial, you'll learn: To complete this tutorial, you should meet the following guidelines: -- Have some familiarity with writing code in TypeScript or JavaScript. +- Have some familiarity with writing code in TypeScript. - Have installed Node.js **version 20** or later in your development environment. - If you want to build a web application, any modern web browser with JavaScript support should work fine. @@ -128,7 +128,7 @@ The sample code shows you how to connect to the Testnet, which is one of the ava - By [installing the core server](../../infrastructure/installation/index.md) (`xrpld`) and running a node yourself. The core server connects to the Mainnet by default, but you can [change the configuration to use Testnet or Devnet](../../infrastructure/configuration/connect-your-xrpld-to-the-xrp-test-net.md). [There are good reasons to run your own core server](../../concepts/networks-and-servers/index.md#reasons-to-run-your-own-server). If you run your own server, you can connect to it like so: ```typescript - const MY_SERVER = "ws://localhost:6006/" + const MY_SERVER = 'ws://localhost:6006/' const client = new Client(MY_SERVER) await client.connect() ``` @@ -138,7 +138,7 @@ The sample code shows you how to connect to the Testnet, which is one of the ava - By using one of the available [public servers][]: ```typescript - const PUBLIC_SERVER = "wss://xrplcluster.com/" + const PUBLIC_SERVER = 'wss://xrplcluster.com/' const client = new Client(PUBLIC_SERVER) await client.connect() ```