Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ Read the proposal:<br/>
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-712.md

#### Supported Python Versions
- `3.6`
- `3.7`
- `3.9`
- `3.10`
- `3.11`

## Install
```bash
Expand Down Expand Up @@ -212,3 +213,10 @@ Deploying a new version:

## Shameless Plug
Written by [ConsenSys](https://consensys.net) for the world! :heart:

## Historical Note

Maintenance of this project was taken over by Threhsold Network in August 2023.

Five years prior, in August 2018, NuCypher, which later joined Threhsold Network, launched a gitcoin bounty for the adoption and implementation of EIP-712 with help from Scott Moore and Piper Merriam, and became the first project to use an EIP-712 implementation in production. So it is a proud full-circle moment that we bring this project back under our umbrella and make it compatible with current versions of Python.

5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ certifi==2019.3.9
chardet==3.0.4
coverage==4.5.3
coveralls==1.8.0
cytoolz==0.9.0.1
cytoolz==0.12.2
docopt==0.6.2
eth-abi==1.3.0
eth-account==0.3.0
Expand All @@ -17,7 +17,7 @@ eth-typing==2.1.0
eth-utils==1.6.0
hexbytes==0.2.0
idna==2.8
importlib-metadata==0.17
importlib-metadata==6.8.0
lru-dict==1.1.6
more-itertools==7.0.0
packaging==19.0
Expand All @@ -26,7 +26,6 @@ pluggy==0.12.0
py==1.8.0
pycryptodome==3.8.2
pyparsing==2.4.0
pysha3==1.0.2
pytest==4.6.2
pytest-cov==2.7.1
requests==2.22.0
Expand Down
18 changes: 10 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,24 @@
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand


NAME = 'eip712-structs'
VERSION = '1.1.0'
VERSION = '1.2.0'

install_requirements = [
'eth-utils>=1.4.0',
'pysha3>=1.0.2',
'eth-utils>=2.1.0',
]

test_requirements = [
'coveralls==1.8.0',
'pytest==4.6.2',
'pytest-cov==2.7.1',
'web3==4.9.2',
'pytest==6.2.5',
'pytest-cov==4.1.0',
'web3==6.4.0',
]

EXTRAS = {
"dev": test_requirements
}


def get_file_text(filename):
file_path = Path(__file__).parent / filename
Expand Down Expand Up @@ -69,7 +71,7 @@ def run_tests(self):
author='AJ Grubbs',
packages=find_packages(),
install_requires=install_requirements,
tests_require=test_requirements,
extras_require=EXTRAS,
cmdclass={
"test": PyTest,
"coveralls": CoverallsCommand,
Expand Down