funga

Signer and keystore daemon and library for cryptocurrency software development
Log | Files | Refs | README | LICENSE

commit 0fa2dc1efac33678aceacf0f4fea78a6003f08e2
parent ddbd0be5b77414cf90f3674ca3a6d115907e8308
Author: nolash <dev@holbrook.no>
Date:   Thu,  6 Aug 2020 14:11:43 +0200

Add keystore interface previously omitted, middleware req

Diffstat:
A.gitignore | 4++++
Amiddleware_requirements.txt | 39+++++++++++++++++++++++++++++++++++++++
Asrc/keystore/interface.py | 8++++++++
3 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1,4 @@ +__pycache__ +*.pyc +venv +.venv diff --git a/middleware_requirements.txt b/middleware_requirements.txt @@ -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 diff --git a/src/keystore/interface.py b/src/keystore/interface.py @@ -0,0 +1,8 @@ +class Keystore: + + def get(self, address, password=None): + raise NotImplementedError + + def new(self, password=None): + raise NotImplementedError +