mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 11:55:50 +00:00
Get Started Using JavaScript: use WebSocket URI
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
async function main() {
|
||||
|
||||
// Define the network client
|
||||
const client = new xrpl.Client("https://s.altnet.rippletest.net:51234/")
|
||||
const client = new xrpl.Client("wss://s.altnet.rippletest.net:51233")
|
||||
await client.connect()
|
||||
|
||||
// ... custom code goes here
|
||||
|
||||
Reference in New Issue
Block a user