Add signer initializer
This commit is contained in:
parent
d914f64797
commit
70d8ab6a33
@ -27,6 +27,10 @@ class Wallet:
|
|||||||
self.use_checksum = False
|
self.use_checksum = False
|
||||||
|
|
||||||
|
|
||||||
|
def init(self):
|
||||||
|
self.signer = self.signer_constructor(self.keystore)
|
||||||
|
|
||||||
|
|
||||||
def from_config(self, config):
|
def from_config(self, config):
|
||||||
"""Instantiates a signer from the registered signer class, using parameters from a processed configuration.
|
"""Instantiates a signer from the registered signer class, using parameters from a processed configuration.
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = chainlib
|
name = chainlib
|
||||||
version = 0.0.10a9
|
version = 0.0.10a10
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user