Get Started Using JavaScript: use WebSocket URI

This commit is contained in:
Elliot Lee
2021-10-25 20:40:24 -07:00
committed by GitHub
parent 54faa2ba31
commit 916845a0b6

View File

@@ -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