add command for master private key
This commit is contained in:
@@ -322,6 +322,11 @@ class Commands:
|
|||||||
"""Get master public key. Return your wallet\'s master public key(s)"""
|
"""Get master public key. Return your wallet\'s master public key(s)"""
|
||||||
return self.wallet.get_master_public_keys()
|
return self.wallet.get_master_public_keys()
|
||||||
|
|
||||||
|
@command('wp')
|
||||||
|
def getmasterprivate(self):
|
||||||
|
"""Get master private key. Return your wallet\'s master private key"""
|
||||||
|
return str(self.wallet.get_master_private_key(self.wallet.root_name, self.password))
|
||||||
|
|
||||||
@command('wp')
|
@command('wp')
|
||||||
def getseed(self):
|
def getseed(self):
|
||||||
"""Get seed phrase. Print the generation seed of your wallet."""
|
"""Get seed phrase. Print the generation seed of your wallet."""
|
||||||
|
|||||||
Reference in New Issue
Block a user