Capture and decode (Ethereum) JSON RPC traffic
Project description
[](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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rpcsniffer-0.1.1.tar.gz.
File metadata
- Download URL: rpcsniffer-0.1.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9cb9ffe07643a15c8c1e52282275e0f8004622b73ec68294248d2a25a898d95
|
|
| MD5 |
0a3431b3af5ac95436a3b2dad8cc8265
|
|
| BLAKE2b-256 |
40d0f085afcc42a61736eebeb1cd111e22983e9154344b45a571ff11e8da54ba
|
File details
Details for the file rpcsniffer-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: rpcsniffer-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bfc1580229916bc4425894bd90289e877444ae1976b2d9666f0d6f69d8b1bcb
|
|
| MD5 |
72f4b49149325f2818a1cb98010511e8
|
|
| BLAKE2b-256 |
1dc3e67a179f05fd2561c17281df9ef95ee6a2b33ee719ccb8873ac8085aff96
|