change comments to localWS

pull/122/head
zhangmingfeng 3 years ago
parent 3c7061887f
commit 1c3c62470d
  1. 2
      packages/harmony-network/README.md

@ -18,7 +18,7 @@ const testnetWS = 'wss://ws.s0.b.hmny.io';
const localHTTP = 'http://localhost:9500/'; const localHTTP = 'http://localhost:9500/';
const localWS = 'http://localhost:9800/'; const localWS = 'http://localhost:9800/';
const http = new HttpProvider(testnetHTTP); // for local use localHTTP const http = new HttpProvider(testnetHTTP); // for local use localHTTP
const ws = new WSProvider(testnetWS); // for local use testnetWS const ws = new WSProvider(testnetWS); // for local use localWS
const customHTTPMessenger = new Messenger(http, ChainType.Harmony, ChainID.HmyTestnet); // for local ChainID.HmyLocal const customHTTPMessenger = new Messenger(http, ChainType.Harmony, ChainID.HmyTestnet); // for local ChainID.HmyLocal
const customWSMessenger = new Messenger(ws, ChainType.Harmony, ChainID.HmyTestnet); // for local ChainID.HmyLocal const customWSMessenger = new Messenger(ws, ChainType.Harmony, ChainID.HmyTestnet); // for local ChainID.HmyLocal
``` ```
Loading…
Cancel
Save