commit 70d8ab6a33b5bfe3a7b88dc78cda1b6615d0ac50
parent d914f647976595277881f469e1899e88f3da2f94
Author: nolash <dev@holbrook.no>
Date: Sat, 30 Oct 2021 14:10:19 +0200
Add signer initializer
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/chainlib/cli/wallet.py b/chainlib/cli/wallet.py
@@ -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.
diff --git a/setup.cfg b/setup.cfg
@@ -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