{"categories":[{"label":"Cryptography","url":"https://skillfed.io/packages/category/security-cryptography"}],"enrichment":{"capability":"Constructs and serializes EIP-712 structured data for Ethereum signing, mapping Solidity-like types to Python objects with domain separation and message encoding.","skillfed_tags":["ethereum","eip-712","cryptography"],"use_cases":["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."],"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.\n\nTypical 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.","worth_installing":"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."},"id":"poly-eip712-structs","links":{"html":"https://skillfed.io/packages/poly-eip712-structs","md":"https://skillfed.io/packages/poly-eip712-structs.md","pypi":"https://pypi.org/project/poly-eip712-structs/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-07-18","license_spdx":null,"license_treatment":"permissive","name":"poly-eip712-structs","python_support":"supports_current","summary":"A python library for EIP712 objects"},"popularity":{"monthly_downloads":1252427,"position":4159,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.0.1"}
