Add keystore interface previously omitted, middleware req

This commit is contained in:
nolash 2020-08-06 14:11:43 +02:00
parent ddbd0be5b7
commit 0fa2dc1efa
Signed by: lash
GPG Key ID: 93EC1C676274C889
3 changed files with 51 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
__pycache__
*.pyc
venv
.venv

View File

@ -0,0 +1,39 @@
attrs==19.3.0
base58==2.0.1
bitarray==1.2.2
certifi==2020.6.20
cffi==1.14.1
chardet==3.0.4
cryptography==3.0
cytoolz==0.10.1
eth-abi==2.1.1
eth-account==0.5.2
eth-hash==0.2.0
eth-keyfile==0.5.1
eth-keys==0.3.3
eth-rlp==0.1.2
eth-typing==2.2.1
eth-utils==1.9.0
hexbytes==0.2.1
idna==2.10
ipfshttpclient==0.6.0.post1
json-rpc==1.13.0
jsonschema==3.2.0
lru-dict==1.1.6
multiaddr==0.0.9
netaddr==0.8.0
parsimonious==0.8.1
protobuf==3.12.4
psycopg2==2.8.5
pycparser==2.20
pycryptodome==3.9.8
pyrsistent==0.16.0
pysha3==1.0.2
requests==2.24.0
rlp==1.2.0
six==1.15.0
toolz==0.10.0
urllib3==1.25.10
varint==1.0.2
web3==5.12.0
websockets==8.1

View File

@ -0,0 +1,8 @@
class Keystore:
def get(self, address, password=None):
raise NotImplementedError
def new(self, password=None):
raise NotImplementedError