Simple web client to help debugging Ethereum consensus p2p network.
- Copy
config.example.yaml
toconfig.yaml
and fill values. - Run with docker
docker run --name p2p-debugger -v /path/to/config.yaml:/usr/share/nginx/html/config.yaml -p 8080:80 maxdavin/p2p-debugger:latest
- Open http://localhost:8080
The page does not load because of CORS errors
If the consensus client is running on localhost, you might need to specify Allow origin header; i.e add --http-allow-origin "http://localhost:8080"
to cli arguments.
git clone https://github.com/MaximeDavin/p2p-debugger.git
cd p2p-debugger
cp config.example.yaml public/config.yaml // Fill values
npm install --include=dev
npm run dev