spruceid / siwe-py

A Python implementation of Sign-In with Ethereum
https://login.xyz
Apache License 2.0
66 stars 28 forks source link

Support EIP-1271: Standard Signature Validation Method for Contracts #16

Closed payton closed 1 year ago

payton commented 2 years ago

Add support for EIP-1271 to validate contract signatures.

https://eips.ethereum.org/EIPS/eip-1271

https://github.com/spruceid/siwe-py/blob/58bdc998f838fa78c9c916469c7677e83b011931/siwe/siwe.py#L223-L233