OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Peth

Peth is an open-source Python SDK and command-line tool for interacting with Ethereum and EVM-compatible chains. It includes contract-call utilities, ABI encoding and decoding, EVM bytecode disassembly, common DApp contract tools, and an Etherscan-compatible explorer interface.

Independent OpenViST project profile, based on linked sources.

Peth — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Peth when you want a Python-based toolkit for EVM contract interaction or inspection, either through a terminal shell or from Python code.

Who it is for

  • Ethereum and EVM developers
  • Smart-contract auditors
  • Web3 security researchers
  • Python developers writing scripts to inspect or interact with EVM contracts

Documented uses

  • Call a smart-contract method from the interactive shell or Python SDK.
  • Encode or decode contract ABI data.
  • Disassemble EVM bytecode for inspection.
  • Use command-line utilities for common contract and transaction tasks.
Before you choose

Requirements & limits

The project is open source under the AGPL-3.0 license. The README documents installation through PyPI, GitHub, or a source checkout.

  • Peth offers both an interactive command-line shell and a Python SDK.
  • The README demonstrates an Ethereum contract call using a contract address and either a method name or function signature.
  • The documented installation options include PyPI, GitHub, and a source checkout.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install Peth from PyPI and open its shell

Install the Python package and start the documented Peth command-line shell.

Before you start

  • Python package installation with pip

Steps

  1. Run the command below.

    Documented command
    pip install peth
  2. Run peth to start the shell.

  3. Enter help in the shell to list documented commands.

Expected outcome

The Peth interactive shell opens and displays its command list when asked for help.

Guide limitations

  • This guide covers installation and opening the shell; it does not configure a chain connection or demonstrate a transaction.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
13 October 2026
Original website title
lmy375/peth · Official homepage title · retained in its source language