https://github.com/bobthebuidler/evmspec
A collection of msgspec.Struct definitions for use with the Ethereum Virtual Machine
https://github.com/bobthebuidler/evmspec
ethereum evm evm-blockchain msgspec
Last synced: 2 months ago
JSON representation
A collection of msgspec.Struct definitions for use with the Ethereum Virtual Machine
- Host: GitHub
- URL: https://github.com/bobthebuidler/evmspec
- Owner: BobTheBuidler
- License: mit
- Created: 2024-11-08T17:22:04.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-07-14T20:43:51.000Z (9 months ago)
- Last Synced: 2025-07-15T01:06:36.331Z (9 months ago)
- Topics: ethereum, evm, evm-blockchain, msgspec
- Language: Python
- Homepage: https://bobthebuidler.github.io/evmspec/
- Size: 6.84 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## evmspec
A collection of [msgspec.Struct](https://jcristharif.com/msgspec/structs.html) definitions for use with the Ethereum Virtual Machine
[Why msgspec?](https://jcristharif.com/msgspec/why.html)
Inspired by [snek3](http://github.com/banteg/snek3), I took the structs and extended them with some extra functionality.
#### Type checking
- Run `poetry run mypy` (uses the `pyproject.toml` configuration).
#### Modules:
- [block](https://bobthebuidler.github.io/evmspec/source/evmspec.html#module-evmspec.structs.block)
- [log](https://bobthebuidler.github.io/evmspec/source/evmspec.html#module-evmspec.log)
- [receipt](https://bobthebuidler.github.io/evmspec/source/evmspec.html#module-evmspec.receipt)
- [trace](https://bobthebuidler.github.io/evmspec/source/evmspec.structs.trace.html)
- [transaction](https://bobthebuidler.github.io/evmspec/source/evmspec.html#module-evmspec.transaction)
- and more