RPC clients, handler and transport
JSON-RPC
Erebos provides tools to communicate using JSON-RPC 2.0 as used by Ethereum and Swarm. Multiple libraries support various purposes, such as:
- Transports: the communication layer between a client and server
- Core libraries: foundation utilities implementing the JSON-RPC 2.0 specification
- Clients for various environments
- A server-side handler helper to process incoming requests
Transports
- HTTP for Node and browsers
- WebSocket for Node and browsers
- IPC for Node
- Electron for Electron's renderer process
Core libraries
Clients
- HTTP client for Node and browsers
- WebSocket client for Node and browsers
- IPC client for Node
- Browser client over HTTP or WebSocket
- Node client over HTTP, WebSocket or IPC
- Electron client for Electron's renderer process