https://github.com/pyk/milapy
Simple Python 3 interface designed for Ethereum and various EVM-based chains
https://github.com/pyk/milapy
ethereum web3py
Last synced: about 1 month ago
JSON representation
Simple Python 3 interface designed for Ethereum and various EVM-based chains
- Host: GitHub
- URL: https://github.com/pyk/milapy
- Owner: pyk
- Created: 2023-12-04T21:31:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-11T23:37:38.000Z (over 2 years ago)
- Last Synced: 2025-07-10T23:10:55.494Z (12 months ago)
- Topics: ethereum, web3py
- Language: Python
- Homepage: https://milapy.dev
- Size: 509 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# milapy
milapy is an extensible Python 3 interface designed for Ethereum and various
EVM-based chains. It offers a command-line interface, supports multiple chains,
and provides synchronous and asynchronous APIs.
## Getting started
Install milapy using pip:
```sh
pip install milapy
```
Now, let's get started:
```sh
>>> from milapy import Chain
>>> mainnet = Chain(id=1)
>>> mainnet.get_block_number()
18719286
```
## Acknowledgements
milapy were inspired by or directly modified from many sources, primarily:
- [viem](https://viem.sh/)
- [web3.py](https://web3py.readthedocs.io/en/stable/)
- [ethers.js](https://docs.ethers.org/v5/)