{"categories":[{"label":"Cryptography","url":"https://skillfed.io/packages/category/security-cryptography/2"}],"enrichment":{"capability":"Provides Python message classes for EIP-712 typed structured data hashing and signing in Ethereum, enabling you to define domain-specific message types and sign them with eth-account.","skillfed_tags":["ethereum","cryptography","eip-712"],"use_cases":["Define and sign EIP-712 messages for DeFi permit() functions, governance votes, or off-chain orders that will be verified on-chain.","Build typed message schemas for multi-signature wallets or threshold signing schemes where structured data must be cryptographically committed.","Create domain-specific signing protocols in Ape scripts or Python automation that interact with Ethereum smart contracts.","Validate and sign complex nested message structures with arrays and custom types without manually encoding bytes.","Integrate EIP-712 signing into Python-based wallet or key management tools that need to sign Ethereum messages."],"what_it_does":"eip712 is a Python library that wraps EIP-712 message specification into Pydantic-based classes, letting you define strongly-typed Ethereum messages and sign them cryptographically. You define message structures by subclassing EIP712Message and EIP712Type, specify your domain configuration (name, version, contract address, chain ID), and then instantiate and sign messages using eth-account or Ape. The library handles the encoding and hashing required by the EIP-712 standard, so you work with plain Python objects rather than raw bytes.\n\nIt's built on pydantic for validation and eth-pydantic-types for ABI-compliant field types (address, uint256, string, etc.), making it natural to define domain-specific message schemas. The typical workflow is: define your message class, create instances with your data, and pass them to Account.sign_message() to get a signature. It's most useful in DeFi protocols, governance systems, or any Ethereum application that needs to sign structured data off-chain and verify it on-chain.","worth_installing":"Yes, if you need to sign EIP-712 messages in Python. The library is production-stable, has low install friction, and integrates cleanly with eth-account. Maintenance is aging (last release 234 days ago), but the repo is active and there are no known vulnerabilities. It's a focused, well-scoped tool for a specific cryptographic task in the Ethereum ecosystem."},"id":"eip712","links":{"html":"https://skillfed.io/packages/eip712","md":"https://skillfed.io/packages/eip712.md","pypi":"https://pypi.org/project/eip712/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-12-23","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"eip712","python_support":"supports_current","summary":"eip712: Message classes for typed structured data hashing and signing in Ethereum"},"popularity":{"monthly_downloads":113885,"position":12323,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.3"}
