ApeWorX / eip712

Message classes for typed structured data hashing and signing in Ethereum
Apache License 2.0
42 stars 19 forks source link

Brownie Account Support #4

Closed ShadeUndertree closed 3 years ago

ShadeUndertree commented 3 years ago

Elevator pitch:

Integrate eip712 into brownie's local account class so that Brownie accounts can sign eip712 messages.

Value:

The first place we're going to use this in yearn-vaults, to get rid of the dependency on eth-account in the test suite. Example:

https://github.com/yearn/yearn-vaults/blob/67cf46f3/tests/conftest.py#L91-L139

Other than that, this will be a useful feature for end users of Brownie.

Dependencies:

None.

Design approach:

Design is all set. See the task list.

Task list:

Estimated completion date:

2021-05-26.

Design review:

Do not signoff unless: 1) agreed the tasks and design approach will achieve acceptance and 2) the work can be completed by one person within the SLA. Design reviewers should consider simpler approaches to achieve goals.

(Please leave a comment to sign off)

fubuloubu commented 3 years ago

LGTM

lost-theory commented 3 years ago

This was finished on Jul 1st.