Skip to main content

[![Build Status](https://travis-ci.org/alext234/rpc-sniffer.svg?branch=master)](https://travis-ci.org/alext234/rpc-sniffer)

# rpc-sniffer This tool captures network traffic and decode them if they contain (Ethereum) JSON RPC. This might be useful in the following scenarios:

  • You want to know the exact RPC requests and responses sent to and from your Ethereum node.

  • You want to debug and understand what web3 sends out.

  • You want to capture the contents web3 sends out in order to use them in a different program.

# Installation

The following assumes you already have Python virtualenv activated. If not you may need to add sudo in front of the setup.py command and the pip command.

  • Via the setup.py script

` git clone https://github.com/alext234/rpc-sniffer cd rpc-sniffer python setup.py install `

  • Or via pip

` pip install rpcsniffer `

# Usage TODO

# Limitations

  • This tool does not support encrypted SSL traffic (e.g. when you interact with an infura.io node).

  • This tool does not support RPC traffic that spans multiple packets (development is in progress for this feature).

Metadata

Release files for rpcsniffer 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rpcsniffer 0.1.1
File Size Uploaded
rpcsniffer-0.1.1.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rpcsniffer 0.1.1
File Interpreter ABI Platform
rpcsniffer-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 10.0 kB

Release files / rpcsniffer-0.1.1.tar.gz

Download URL rpcsniffer-0.1.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e9cb9ffe07643a15c8c1e52282275e0f8004622b73ec68294248d2a25a898d95
BLAKE2b-256 checksum
How to use checksums
40d0f085afcc42a61736eebeb1cd111e22983e9154344b45a571ff11e8da54ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / rpcsniffer-0.1.1-py2.py3-none-any.whl

Download URL rpcsniffer-0.1.1-py2.py3-none-any.whl
Size 5.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1bfc1580229916bc4425894bd90289e877444ae1976b2d9666f0d6f69d8b1bcb
BLAKE2b-256 checksum
How to use checksums
1dc3e67a179f05fd2561c17281df9ef95ee6a2b33ee719ccb8873ac8085aff96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page