OpCodify
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:
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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7909380941364279f3a385f262d1e47884d62038217989f0e788f7b3304b4695
|
|
| MD5 |
b83ebf400d9c03c8284be1c3302a149e
|
|
| BLAKE2b-256 |
d5b1aea7ddbaa4fae4675ab736ca55e2a218d3abdcaa812270bf58dca8dc295a
|