Coder Social home page Coder Social logo

chinesemark / ethereham Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dafthack/ethereham

0.0 0.0 0.0 1.37 MB

A script for tracking and decoding input data messages sent to and from a particular Ethereum address or from every transaction in a block.

License: MIT License

Python 100.00%

ethereham's Introduction

Ethereham

Like a Ham radio for Ethereum, tune in to a specific address to see encoded messages in input data. This is a script for tracking and decoding input data messages sent to and from a particular Ethereum address or from every transaction in a block.

Quick Start

Install the requirements

pip install -r requirements.txt

Infura provides a service for interacting with the Ethereum blockchain via API. You can sign up for a free Infura account here: Infura. Free accounts can submit up to 100,000 requests to their API per day. After creating an account, follow the instructions here to generate an API key. Export the Infura API key as an environment variable.

export WEB3_INFURA_PROJECT_ID="<infura API key>"

Basic Usage

Scan transactions and extract input data for Ethereum account 0xC8a65Fadf0e0dDAf421F28FEAb69Bf6E2E589963 starting at block number 13004800

python3 Ethereham.py -a 0xC8a65Fadf0e0dDAf421F28FEAb69Bf6E2E589963 -b 13004800

Scan all transactions and extract input data starting at the latest block number

python3 Ethereham.py -l -t

Ethereham Demo

Options

-b, --startingblock         The starting block number to begin scanning transactions from
-a, --ethereumaddress       Specific Ethereum address to monitor transactions for and decode input data from
-l, --startfromlatest       Begin scanning transactions from the latest block (overrides --startingblock)
-t, --scanalltransactions   Instead of monitoring a single address this flag will make Ethereham scan all transactions

Credits

Thanks to Banteg for posting this version of the hacker_chat monitoring script during the Poly Network hack. It was used as a basis for Ethereham.

ethereham's People

Contributors

dafthack avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.