Add minor improvements for javascript code walkthrough

This commit is contained in:
Maria Shodunke
2025-11-13 08:03:45 -08:00
parent 01ed3055ec
commit d89fdc79b8
2 changed files with 25 additions and 18 deletions

View File

@@ -1,7 +1,9 @@
// @chunk {"steps": ["import-node-tag"]}
// Import the library
// @chunk {"steps": ["connect-tag"]}
import xrpl from "xrpl"
// @chunk-end
// @chunk {"steps": ["connect-tag"]}
// Define the network client
const SERVER_URL = "wss://s.altnet.rippletest.net:51233/"
const client = new xrpl.Client(SERVER_URL)