Metadata-Version: 2.1
Name: pypechain
Version: 0.0.3
Summary: Codegen python interfaces for web3.py contracts.
Author-email: Dylan Paiton <dylan@delv.tech>, Matthew Brown <matt@delv.tech>, Sheng Lundquist <sheng@delv.tech>
Requires-Python: >=3.10, <3.11
Description-Content-Type: text/markdown
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Dist: pypechain[base,build,test] ; extra == "all"
Requires-Dist: black ; extra == "base"
Requires-Dist: jinja2 ; extra == "base"
Requires-Dist: web3 ; extra == "base"
Requires-Dist: build ; extra == "build"
Requires-Dist: setuptools ; extra == "build"
Requires-Dist: wheel ; extra == "build"
Requires-Dist: twine ; extra == "build"
Requires-Dist: pytest ; extra == "test"
Project-URL: Bug Tracker, https://github.com/delvtech/pypechain/issues
Project-URL: Homepage, https://github.com/delvtech/pypechain
Provides-Extra: all
Provides-Extra: base
Provides-Extra: build
Provides-Extra: test

# Pypechain

Static python bindings for ethereum smart contracts.

- Parses JSON ABI's to create typesafe web3.py contract instances
- Functions have typesafe function parameters and return values
- Smart Contract internal types are exposed as dataclasses

### Install

See toplevel INSTALL.md

### Usage

From lib/pypecahin, run:

```bash
#  python pypechain/run_pypechain.py <ABI_FILE>          <OUT_FILE>
❯❯ python pypechain/run_pypechain.py './abis/ERC20.json' './build/ERC20Contract.py'
```

Much of this is subject to change as more features are fleshed out.

