# 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: ```sh npm install node monitor-payments.js node read-amount-received.js ```