diff --git a/README.md b/README.md index bcb9994..4123273 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ const DerivAPI = require('@deriv/deriv-api/dist/DerivAPI'); // app_id 1089 is for testing, create your own app_id and use it here. // go to api.deriv.com to register your own app. -const connection = new WebSocket('wss://ws.binaryws.com/websockets/v3?app_id=1089'); +const connection = new WebSocket('wss://ws.derivws.com/websockets/v3?app_id=1089'); const api = new DerivAPI({ connection }); const basic = api.basic; @@ -73,7 +73,7 @@ import WebSocket from 'ws'; // app_id 1089 is for testing, create your own app_id and use it here. // go to api.deriv.com to register your own app. -const connection = new WebSocket('wss://ws.binaryws.com/websockets/v3?app_id=1089'); +const connection = new WebSocket('wss://ws.derivws.com/websockets/v3?app_id=1089'); const api = new DerivAPIBasic({ connection }); api.ping().then(console.log); @@ -90,7 +90,7 @@ const DerivAPIBasic = require('@deriv/deriv-api/dist/DerivAPIBasic'); // app_id 1089 is for testing, create your own app_id and use it here. // go to api.deriv.com to register your own app. -const connection = new WebSocket('wss://ws.binaryws.com/websockets/v3?app_id=1089'); +const connection = new WebSocket('wss://ws.derivws.com/websockets/v3?app_id=1089'); const api = new DerivAPIBasic({ connection }); api.ping().then(console.log); @@ -104,7 +104,7 @@ api.ping().then(console.log);