Skip to main content

opcodify is a command-line tool designed to simplify the process of visualizing Opcodes within Solidity Smart Contracts. With opcodify, you can effortlessly generate treemap visualizations that provide insights into the distribution of opcodes used within your contracts.

Project description

OpCodify

PyPI Version License

opcodify is a command-line tool that helps visualize Opcodes for Solidity Smart Contracts. It generates a treemap visualization to provide insights into the distribution of Opcodes within a contract.

Installation

You can install opcodify using pip:

pip install opcodify

Usage

After installation, you can use the opcodify command to visualize Opcodes for a Solidity Smart Contract:

opcodify --contract Contract.sol

Replace Contract.sol with the path to your Solidity Smart Contract file.

You should see the opcode treemap getting created in the working directory.

The image below is an example of a Smart Contract:

TreeMap

Prerequisites

  • Python

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opcodify-0.1.3.tar.gz (7.6 kB view details)

Uploaded Source

File details

Details for the file opcodify-0.1.3.tar.gz.

File metadata

  • Download URL: opcodify-0.1.3.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for opcodify-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7909380941364279f3a385f262d1e47884d62038217989f0e788f7b3304b4695
MD5 b83ebf400d9c03c8284be1c3302a149e
BLAKE2b-256 d5b1aea7ddbaa4fae4675ab736ca55e2a218d3abdcaa812270bf58dca8dc295a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page