Remove crypto_dev_signer, add funga

This commit is contained in:
nolash 2021-10-18 14:28:15 +02:00
parent e073a3c57a
commit d2505f19d2
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 3 additions and 6 deletions

View File

@ -1,9 +1,6 @@
# standard imports # standard imports
import logging import logging
# external imports
from crypto_dev_signer.keystore.dict import DictKeystore
logg = logging.getLogger(__name__) logg = logging.getLogger(__name__)
@ -19,7 +16,7 @@ class Wallet:
:todo: sign_transaction_to_rlp from chainlib-eth must be renamed to sign_transaction_to_wire, and included as part of signer interface :todo: sign_transaction_to_rlp from chainlib-eth must be renamed to sign_transaction_to_wire, and included as part of signer interface
""" """
def __init__(self, signer_cls, keystore=DictKeystore(), checksummer=None): def __init__(self, signer_cls, keystore=None, checksummer=None):
self.signer_constructor = signer_cls self.signer_constructor = signer_cls
self.keystore = keystore self.keystore = keystore
self.signer = None self.signer = None

View File

@ -1,3 +1,3 @@
crypto-dev-signer>=0.4.15rc2,<=0.4.15 funga>=0.5.1a1,<0.6.0
pysha3==1.0.2 pysha3==1.0.2
hexathon~=0.0.1a8 hexathon~=0.0.1a8

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = chainlib name = chainlib
version = 0.0.10a1 version = 0.0.10a3
description = Generic blockchain access library and tooling description = Generic blockchain access library and tooling
author = Louis Holbrook author = Louis Holbrook
author_email = dev@holbrook.no author_email = dev@holbrook.no