tadd command for master private key - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit e9b346ed29fc963c000e3380e4781d613610fc3a DIR parent 6fcaa1a6725d86537758f20b69e659dbb97273d2 HTML Author: ThomasV <thomasv@gitorious> Date: Fri, 14 Aug 2015 15:23:50 +0200 add command for master private key Diffstat: M lib/commands.py | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) --- DIR diff --git a/lib/commands.py b/lib/commands.py t@@ -323,6 +323,11 @@ class Commands: 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') def getseed(self): """Get seed phrase. Print the generation seed of your wallet.""" s = self.wallet.get_mnemonic(self.password)