mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Add key retrieval
This commit is contained in:
parent
4c651d7d35
commit
333caafa90
3 changed files with 31 additions and 1 deletions
|
@ -30,6 +30,12 @@ class JSONRPCWallet(object):
|
|||
_log.debug("JSONRPC backend auth: '{user}'/'{stars}'".format(
|
||||
user=user, stars=('*' * len(password)) if password else ''))
|
||||
|
||||
def get_view_key(self):
|
||||
return self.raw_request('query_key', {'key_type': 'view_key'})['key']
|
||||
|
||||
def get_seed(self):
|
||||
return self.raw_request('query_key', {'key_type': 'mnemonic'})['key']
|
||||
|
||||
def get_accounts(self):
|
||||
accounts = []
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue