mirror of
https://github.com/wylieconlon/jsonrpc-ws-proxy.git
synced 2025-05-18 07:46:38 +00:00
12 lines
221 B
Markdown
12 lines
221 B
Markdown
|
Sets up a websocket proxy to a JSON-RPC server
|
||
|
|
||
|
Usage:
|
||
|
|
||
|
```
|
||
|
npm install
|
||
|
npm run prepare
|
||
|
node dist/server.js --port 3000 --remotePath localhost --remotePort 2089
|
||
|
```
|
||
|
|
||
|
The only required flag to the server is `--remotePort`
|