Jon-Becker
heimdall
Python

Powerful Ethereum Smart-Contract Toolkit

Last updated May 28, 2026
92
Stars
5
Forks
1
Issues
0
Stars/day
Attention Score
37
Language breakdown
Python 100.0%
Files click to expand
README

Heimdall [DEPRECATED]

preview

Heimdall is an advanced and modular smart-contract toolkit which aims to make dealing with smart contracts on EVM based chains easier.

THIS REPOSITORY IS DEPRECATED AND WILL NOT BE UPDATED OR SUPPORTED AS OF JUN 24, 2022.

YOU CAN FIND THE NEW VERSION HERE https://github.com/Jon-Becker/heimdall-rs/

Installation & Usage

version badge download badge build badge Build
pip install eth-heimdall

Heimdall operates off the `argparse library, with modules specifying which operation you with to perform.

<pre><code class="lang-">heimdall MODULE [-v] [--default] [-arguments]</code></pre>

Modules & Help

You may find the various modules supported by Heimdall by using the -h option, which opens the help menu by default.

<pre><code class="lang-">Options: -h, --help Show the help message and exit -hh Show advanced help message and exit --version Display version information and exit --update Updates heimdall to the latest release -v, --verbose Toggle verbose output

Modules: Below is a list of modules currently supported on Heimdall

# | Name | Description | | 0 | Config | Easily modify the configuration on Heimdall 1 | Debug | Easily access Heimdall debug information 2 | Decompile | Decompile and download the target smart contract

Parameters: -m MODULE, --module MODULE Operation module, either name or number from list -t TARGET, --target TARGET Target of operation (file, transaction id, or address) -o PATH, --output PATH Path to write output to -c ID, --chain ID Chain ID of target -p URL, --provider URL URL of custom Ethereum provider

Additional: --open, --edit Attempts to open nano / edit on the operation --redeploy ID Redeploys the contract from -n onto ID --beautify Attempts to beautify the downloaded contract using statistical renaming and spacing --default Always use defaults when prompted for input --flush, --ignore-cache Flushes the cache and rewrites it</code></pre>

Please keep in mind as more modules are released, module numbers may change. It's recommended to use the module name instead.

Module Documentation

Specific module documentation can be found in the /docs folder, or quickly navigate using the links beow.

| Module Name | Description | Documentation URL | | ----------- | ---------------------------------- | ----------------------------------------------------------------------------------- | | Config | Heimdall Configuration Module | Documentation | | Debug | Heimdall Debug Module | Documentation | | Decompile | Decompiles EVM bytecode > Solidity | Documentation |

Configuration

You may save environment information, such as remote and local providers, to the configuration folder in env/conf.json.

Contributing

If you'd like to contribute to Heimdall or add a module, please open a pull-request with your changes, as well as detailed information on what is changed, added, or improved.

Modules

To add a module, you must add a .py file within the /lib/modules folder. In order for your pull-request to be accepted, your module must begin with a meta object, which is used when displaying what it does to end-users.

Example meta object: <pre><code class="lang-">meta = { &quot;title&quot;: &quot;Decompile&quot;, &quot;description&quot;: &quot;Decompile and download the target smart contract&quot;, &quot;author&quot;: &quot;Jonathan Becker &lt;jonathan@jbecker.dev&gt;&quot;, &quot;version&quot;: &quot;v1.0.0&quot;, }</code></pre>

You will also need to add detailed documentation to this readme file in the Module Documentation` section.

Troubleshooting

If you encounter an issue, please create one using the link below. You MUST follow the issue format, or it will be marked as invalid.

Issues that remain inactive for 72 hours will be marked inactive and closed. If your issue is accepted by a contributor, they will assign themselves to it and add corresponding tags.

Credits

This project is coded in its entirety by Jonathan Becker. Various contributors can be found in the sidebar.

© 2026 GitRepoTrend · Jon-Becker/heimdall · Updated daily from GitHub