eip712 icon indicating copy to clipboard operation
eip712 copied to clipboard

Message classes for typed structured data hashing and signing in Ethereum

Results 8 eip712 issues
Sort by recently updated
recently updated
newest added

### Overview Provide a simple overview of what you wish to see added. Please include: - I would like my class extending `EIP712Message` to have an `encode()` method.

### What I did fixes: # ### How I did it ### How to verify it ### Checklist - [ ] Passes all linting checks (pre-commit and CI jobs) -...

### Overview Re-export the function for fully hashing an EIP712 message produced using this library into a 32 byte hash usable for signing ### Specification Export the function `hash_message` (`hash_eip712_message`...

For example, I want to create a message of the following structure ``` class Mail(EIP712Message): _name_ = "Ether Mail" _version_ = "1" from: "address" receiver: "address" ``` Python does not...

### Overview It would be really helpful to be able to use eip712-derived struct defs as data models which can be serialized and deserialized easily to/from JSON

### Environment information - OS: macOS - Python Version: 3.8.10 - eip712 : 0.1.5 and 0.1.6 a simple test code: class Test(EIP712Message): _name_: string = "Frank 0x0016" _version_: string =...

https://github.com/ethereum/eth-abi/blob/master/eth_abi/registry.py

### What I did This fix allows the `eip712` library to handle lists of `EIP712Type` instances correctly. Specifically, it supports nested structures where fields can be lists of custom types,...