Skip to content

wormholelabs-xyz/evm-ws-http-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EVM WebSocket to HTTP Proxy

⚠️ This service is provided for testing purposes only. It is not intended for production use.

Install Dependencies

Requires Node JS.

npm ci

Run

RPC="<YOUR_EVM_RPC>" npm start

Environment Variables

  • RPC - Required, the HTTP endpoint to proxy. e.g. https://ethereum-sepolia-rpc.publicnode.com
  • PORT - Default: 8080, the port to host the websocket.
  • SLEEP - Default: 1000, the duration, in milliseconds, to sleep between polling for blocks and logs.
  • LOG_LEVEL - Default: info, the log level passed to winston.

Test

npm test

About

When you need WS but all you have is HTTP

Resources

License

Stars

Watchers

Forks

Packages

No packages published