mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 13:05:49 +00:00
Update readme with websocket url (#1785)
This commit is contained in:
@@ -41,7 +41,7 @@ Example usage:
|
|||||||
```js
|
```js
|
||||||
const xrpl = require("xrpl")
|
const xrpl = require("xrpl")
|
||||||
async function main() {
|
async function main() {
|
||||||
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()
|
await client.connect()
|
||||||
|
|
||||||
const response = await client.request({
|
const response = await client.request({
|
||||||
|
|||||||
Reference in New Issue
Block a user