Skip to main content

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.

Metadata

Release files for opcodify 0.1.3

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

Source distribution (sdist)

Source distribution for opcodify 0.1.3
File Size Uploaded Provenance Actions
opcodify-0.1.3.tar.gz 7.6 kB Without provenance Details for opcodify-0.1.3.tar.gz

Release files / opcodify-0.1.3.tar.gz

Download URL opcodify-0.1.3.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7909380941364279f3a385f262d1e47884d62038217989f0e788f7b3304b4695
BLAKE2b-256 checksum
How to use checksums
d5b1aea7ddbaa4fae4675ab736ca55e2a218d3abdcaa812270bf58dca8dc295a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for opcodify 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file No provenance

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