mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-04-29 15:37:48 +00:00
367 B
367 B
Monitor Payments Websocket (JavaScript)
Demonstrates how to monitor incoming payments using WebSocket connections.
Browser
Open index.html in a web browser and check the browser console to see the logs.
Command-line
Alternatively, you can run the code from the command line:
npm install
node monitor-payments.js
node read-amount-received.js