$npx skillfedfor your agent

poly-eip712-structs

A python library for EIP712 objects

With conditionsPyPI CryptographyReleased Jul 20241.3M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — poly_eip712_structs-0.0.1-py3-none-any.whl
v0.0.1 · released 2024-07-18 · Python >=3.9.10 · 3 runtime deps: eth-utils, pycryptodome, pytest

Yes, if you need EIP-712 struct construction for Ethereum signing and can tolerate dormant maintenance. The library is stable with no known vulnerabilities, but expect no active updates or bug fixes. Suitable for production use in mature workflows; less suitable if you need ongoing support.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.9.10; runtime dependencies are eth-utils, pycryptodome, and pytest.
  • Low friction install with a pure-Python wheel.
  • Dormant maintenance status (last commit 2024-07-18) means no active bug fixes or security updates, though the codebase is stable.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive) allows commercial and private use with minimal restrictions.

last release 2024-07-18 (757 days) · last repo commit 2024-07-18 · 5 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,252,427 downloads/mo, #4,159 on PyPI

Verify before relying

pip install poly-eip712-structs

from poly_eip712_structs import EIP712Struct, String, Uint, make_domain

class MyStruct(EIP712Struct):
    some_string = String()
    some_number = Uint(256)

domain = make_domain(name='Example', version='1.0.0')
mine = MyStruct(some_string='hello', some_number=1234)
my_bytes = mine.signable_bytes(domain)
  • Whether this is a maintained fork or a distinct implementation with active development plans.
  • Compatibility with current Ethereum tooling and whether EIP-712 spec changes since 2024-07-18 affect usage.
  • Whether pytest is a runtime dependency or a development-only artifact.
Same gist for agents: .md · .json

What it is and what it does

poly-eip712-structs provides a Python interface for building EIP-712 structured data objects that can be signed for Ethereum transactions. It maps Solidity-like types (Address, Boolean, Bytes, Int, String, Uint, and nested structs) to Python class definitions, then serializes them into signable message bytes with domain separation. The library handles type encoding, message serialization to JSON, and dictionary-style access to struct fields.

Typical use is defining a struct class with typed fields, instantiating it with values, optionally setting a default domain, then converting to signable bytes or a message dict for cryptographic signing. It supports nested structs and arrays, dynamic attribute assignment for reserved keywords, and both static and dynamic array lengths.

Use it for

  • Sign typed Ethereum messages for wallet interactions or contract function calls requiring EIP-712 compliance.
  • Build structured data objects that map to Solidity struct definitions for off-chain signing before on-chain submission.
  • Encode domain-separated messages to prevent replay attacks across different Ethereum chains or contracts.
  • Construct complex nested struct hierarchies with arrays and multiple field types for multi-signature workflows.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need EIP-712 struct construction for Ethereum signing and can tolerate dormant maintenance.

The library is stable with no known vulnerabilities, but expect no active updates or bug fixes. Suitable for production use in mature workflows; less suitable if you need ongoing support.

Install

poly-eip712-structs on PyPI

Before you install

Low friction install with a pure-Python wheel. Dormant maintenance status (last commit 2024-07-18) means no active bug fixes or security updates, though the codebase is stable.

Requires Python >=3.9.10; runtime dependencies are eth-utils, pycryptodome, and pytest.

License in practice

MIT license (permissive) allows commercial and private use with minimal restrictions.

Quickstart

pip install poly-eip712-structs

from poly_eip712_structs import EIP712Struct, String, Uint, make_domain

class MyStruct(EIP712Struct):
    some_string = String()
    some_number = Uint(256)

domain = make_domain(name='Example', version='1.0.0')
mine = MyStruct(some_string='hello', some_number=1234)
my_bytes = mine.signable_bytes(domain)

Verify before relying

  • Whether this is a maintained fork or a distinct implementation with active development plans.
  • Compatibility with current Ethereum tooling and whether EIP-712 spec changes since 2024-07-18 affect usage.
  • Whether pytest is a runtime dependency or a development-only artifact.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
eth-utilspycryptodomepytest
MaintenanceDormant 757 days since the last release
Last repo commit
First released
Downloads1,252,427 / month, #4,159 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: poly_eip712_structs-0.0.1-py3-none-any.whl

Tags

Capabilities
EIP-712 struct constructionEthereum message signingtyped data encodingsolidity struct pythondomain separatorcryptographic message hashingblockchain struct serialization
Topics
ethereumeip-712cryptography

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “EIP-712 struct construction”

  • poly-eip712-structsConstructs and serializes EIP-712 structured data for Ethereum…
  • eip712Provides Python message classes for EIP-712 typed structured data…
  • pycstructConverts binary data to and from Python dictionaries or objects using…

Give your agent the search over MCP, or paste the wish link into any chat.

More Cryptography packages

certifi Worth it
PyPI · Cryptography · released Jul 2026

Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.

MPL-2.0pure Python · 3.7+
1.9Bdownloads / mo
cryptography Worth it
PyPI · Cryptography · released Jul 2026

cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.

Apache-2.0 OR BSD-3-Clausecompiled wheel
1.5Bdownloads / mo
rsa Skip
PyPI · Cryptography · released Apr 2025

Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.

Apache-2.0pure Pythonabandoned
299.6Mdownloads / mo
pyOpenSSL With conditions
PyPI · Python Modules · released Aug 2026

pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.

Apache-2.0pure Python · 3.9+
294.2Mdownloads / mo
azure-identity Worth it
PyPI · Cryptography · released Mar 2026

Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.

license unclearpure Python · 3.9+
247.2Mdownloads / mo
PyNaCl Worth it
PyPI · Cryptography · released Jan 2026

PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.

Apache-2.0compiled wheel · 3.8+
246.6Mdownloads / mo

See also canoser · eip712 · pycstruct · siwe · eth-rlp · rlp · construct-classes · faster-eth-abi · eth-brownie