https://github.com/xrplf/rpc2ws
Proxy: offers rippled compatible JSON RPC endpoint, internally sending to WebSocket, replying RPC
https://github.com/xrplf/rpc2ws
Last synced: 9 days ago
JSON representation
Proxy: offers rippled compatible JSON RPC endpoint, internally sending to WebSocket, replying RPC
- Host: GitHub
- URL: https://github.com/xrplf/rpc2ws
- Owner: XRPLF
- Created: 2021-10-26T11:46:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-30T20:27:38.000Z (over 4 years ago)
- Last Synced: 2025-03-21T17:09:07.576Z (over 1 year ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JSON RPC to WebSocket proxy
### for `rippled` (`xrpld`)
Proxy: offers rippled compatible JSON RPC endpoint, internally sending to WebSocket, replying RPC
# Install
1. Clone
2. `npm install`
# Develop
`npm run dev`
# Run:
Runs under PM2 as `RPC2WS`;
`npm run pm2`
# Environment Vars
- Timeout (uplink WS response) in seconds: `TIMEOUT=60`
- Debug (log) output: `DEBUG=post2ws*`
- Non FH Query offloading (space separated): `NONFHNODES=ws://something:8080 ws://another:80`