Skip to main content
added 326 characters in body
Source Link

There is an alternative way to extract the master extended private key (xprv): in the Electrum console, simply type this:

wallet.get_master_private_key('x/', gui.password_dialog())

Or for the master private key of a wallet created with Electrum 1.x, it's:

wallet.get_seed(gui.password_dialog())

Warning

Don't ever type your password or a private key into the console. In other words, don't do this:

wallet.get_seed('my-password')

Everything you type into the console is temporarily stored inside your wallet file unencrypted to make the command history feature (accessed via the up-arrow) work.

There is an alternative way to extract the master extended private key (xprv): in the Electrum console, simply type this:

wallet.get_master_private_key('x/', gui.password_dialog())

Or for the master private key of a wallet created with Electrum 1.x, it's:

wallet.get_seed(gui.password_dialog())

There is an alternative way to extract the master extended private key (xprv): in the Electrum console, simply type this:

wallet.get_master_private_key('x/', gui.password_dialog())

Or for the master private key of a wallet created with Electrum 1.x, it's:

wallet.get_seed(gui.password_dialog())

Warning

Don't ever type your password or a private key into the console. In other words, don't do this:

wallet.get_seed('my-password')

Everything you type into the console is temporarily stored inside your wallet file unencrypted to make the command history feature (accessed via the up-arrow) work.

replace xprv extraction method with one that's both easier and safer
Source Link

There is an alternative way to extract the master extended private key (xprv): remove the password from the wallet (change it to nothing), and then open the wallet file in a text editor (it's located in ~/.electrum/wallets on Linux, or %appdata%\Electrum\wallets on Windows). The xprv is visible towards the end.Electrum console, simply type this:

wallet.get_master_private_key('x/', gui.password_dialog())

Of course, doing so has security implications you must be awareOr for the master private key of before proceeding...a wallet created with Electrum 1.x, it's:

wallet.get_seed(gui.password_dialog())

There is an alternative way to extract the master extended private key (xprv): remove the password from the wallet (change it to nothing), and then open the wallet file in a text editor (it's located in ~/.electrum/wallets on Linux, or %appdata%\Electrum\wallets on Windows). The xprv is visible towards the end.

Of course, doing so has security implications you must be aware of before proceeding....

There is an alternative way to extract the master extended private key (xprv): in the Electrum console, simply type this:

wallet.get_master_private_key('x/', gui.password_dialog())

Or for the master private key of a wallet created with Electrum 1.x, it's:

wallet.get_seed(gui.password_dialog())
Source Link

There is an alternative way to extract the master extended private key (xprv): remove the password from the wallet (change it to nothing), and then open the wallet file in a text editor (it's located in ~/.electrum/wallets on Linux, or %appdata%\Electrum\wallets on Windows). The xprv is visible towards the end.

Of course, doing so has security implications you must be aware of before proceeding....