Add signer initializer

This commit is contained in:
nolash 2021-10-30 14:10:19 +02:00
parent d914f64797
commit 70d8ab6a33
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 5 additions and 1 deletions

View File

@ -27,6 +27,10 @@ class Wallet:
self.use_checksum = False
def init(self):
self.signer = self.signer_constructor(self.keystore)
def from_config(self, config):
"""Instantiates a signer from the registered signer class, using parameters from a processed configuration.

View File

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