Tool to compare smart contracts source code
Project description
smartdiffer
Tool to compare smart contracts source code.
Heavily relies on API of Etherscan and Diffchecker.
Installation
pip install smartdiffer
API keys
In order to use smartdiffer you need to obtain Etherscan Api-Key. Put it inside api_keys.json file under your home directory.
The file should look like this:
{
"etherscan": "",
"diffchecker": ""
}
Usage
Provide two sources you wish to compare. Source is either address of a smart contract on ethereum mainnet or path to a local file.
smartdiffer 0x0123456789abcdef0123456789abcdef01234567 path/to/local/file
On the completion you'll get a link to the diff on diffchecker.com.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smartdiffer-0.1.5.tar.gz.
File metadata
- Download URL: smartdiffer-0.1.5.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1789a89575c856aad70d205992d401bffe047c28fbf9f7e1b4fc510a7e1abc6b
|
|
| MD5 |
5f1662a5d19aa4b0725bbeb9e533ef5a
|
|
| BLAKE2b-256 |
abd7e8d203570aa43aa6c093bef97239545346fcf0a77de1203a2ea7bcf8b4f4
|
File details
Details for the file smartdiffer-0.1.5-py3-none-any.whl.
File metadata
- Download URL: smartdiffer-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6cc15ed6fc6d8f2734631901d06c7278006d5fe065b34098fe570b022528c05
|
|
| MD5 |
b5a3b0c84722e7971d9e4a7c18c8b766
|
|
| BLAKE2b-256 |
dc425c4720d4912f3222baf6b9d30e15be97f6f8e60f23e5deb5561322a64c4b
|