electrum
Manage and use Bitcoin wallets
TLDR
Create a new wallet
Restore an existing wallet from seed offline
Create a signed transaction offline
Display all wallet receiving addresses
Sign a message
Verify a message
Connect only to a specific electrum-server instance
SYNOPSIS
electrum [options] [command] [arguments...]
PARAMETERS
--testnet
Use the testnet network.
--regtest
Use the regtest network.
--datadir
Specify the data directory.
--offline
Start in offline mode.
--gui
Start the graphical user interface.
create
Create a new wallet.
restore
Restore a wallet from a seed phrase.
address
Show the wallet's receiving address.
getbalance
Show the wallet balance.
payto
Send Bitcoin to the specified address.
gettransaction
Show transaction details.
help
Display help information.
DESCRIPTION
The `electrum` command provides a powerful and versatile command-line interface (CLI) for managing Bitcoin wallets using the Electrum wallet software. Electrum is a lightweight Bitcoin wallet, meaning it doesn't download the entire blockchain, instead relying on servers to verify transactions. This makes it significantly faster and more resource-efficient than full node wallets. The `electrum` command allows users to create, restore, and manage wallets; send and receive Bitcoin; view transaction history; sign and verify messages; and interact with various Electrum features directly from the terminal. It's geared towards advanced users who prefer command-line tools for managing their Bitcoin. It supports multiple wallet types including standard, multisig, and hardware wallets. Using scripts it's possible to automate common wallet actions. This command is the front-end to interact with a running electrum server or with public electrum servers.
CAVEATS
The `electrum` command requires Electrum to be installed and configured properly. Security relies on the security of the machine where Electrum is installed. It is advisable to use the tool together with hardware wallets.
SECURITY CONSIDERATIONS
Important: Always secure your Electrum wallet with a strong password and store your seed phrase in a safe place. Consider using hardware wallets for enhanced security. Treat the electrum command with the same level of caution as you would with any other sensitive financial tool.
Never share your seed phrase with anyone.
WALLET TYPES
Electrum supports different wallet types, including standard wallets (single-signature), multi-signature wallets (requiring multiple keys to authorize transactions), and hardware wallets (which store private keys on a separate device).
The best wallet type depends on the desired level of security and the user's risk tolerance.
HISTORY
Electrum was created in 2011 by Thomas Voegtlin. It was one of the first lightweight Bitcoin wallets. It was developed to overcome limitations of full node wallets. Over time, it added features such as hardware wallet support and multiple wallet types, becoming a popular choice for experienced Bitcoin users seeking a balance between security and resource efficiency. It is continuously improved with new features and security updates.
SEE ALSO
bitcoin-cli(1), gpg(1)