A look into the mysterious mempools.
go build .
./xray --config config.toml
Configs are defined as toml. You can define multiple chains to view in xray. It should look like this:
[[chain_configs]]
chain_type = "eth"
rpc_endpoint = "https://ethereum-rpc.publicnode.com"
polling_rate = "50ms"There is a new websocket xray that can be used for live feed, but it will not display completed transactions, and it does not display the separate subpools.
[[chain_configs]]
chain_type = "eth_sub"
rpc_endpoint = "wss://ethereum-rpc.publicnode.com"To monitor a cometBFT chain, use a config like this:
[[chain_configs]]
chain_type = "cosmos"
rpc_endpoint = "http://localhost:26657"
polling_rate = "50ms"