Giter Club home page Giter Club logo

ethereum-function-signature-registry's Introduction

Ethereum Function Signature Database

This project is meant to be a resource for mapping the 4-byte function selectors used by the EVM back to a list of known canonical function signatures that will generate those 4-byte selectors.

The project currently consists of two primary components:

  1. Current website located at https://www.4byte.directory/.
  2. An Ethereum smart contract that houses the signature data. (This portion is a work in progress and is not yet live).

Running the tests

Note: This project is only supported under Python3. If it works in Python2.x that is purely coincidental.

First install the relevant system dependencies.

  • OSX: brew install pkg-config libffi autoconf automake libtool openssl postgres
  • Linux: sudo apt-get install libssl-dev postgresql postgresql-contrib

There are two primary test suites located under the ./tests/ directory.

First you will need to install the requirements.

$ pip install -r requirements.txt -r requirements-dev.txt

To run the full test suite:

$ tox

To run the individual tests suites.

$ py.test tests/web
$ py.test tests/contracts

Serve the site on a development machine

To serve the site on a development machine, bypassing several security measures, run:

python manage.py runserver --settings func_sig_registry.settings_dev

ethereum-function-signature-registry's People

Contributors

a5net avatar afmsavage avatar cburgdorf avatar davesque avatar holiman avatar micahzoltu avatar nurts avatar pipermerriam avatar recy21 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.