Integrations
Command-Line Usage for QSafe Wallet
QSafe Wallet provides a powerful command-line interface (CLI) for advanced users, developers, and system administrators. This guide covers the usage of the CLI, including commands, options, and examples.
1. Starting the Command-Line Interface
To use QSafe Wallet from the command line, run the following command in your terminal:
You can also view a list of available commands by running:
2. Global Options
Global options can be used with any command.
-h
Displays the help message for a specific command.
--testnet
Runs commands on the Testnet network.
--regtest
Runs commands on the Regtest network for local testing.
--verbose
Enables verbose mode for detailed logs.
--wallet <wallet>
Specifies the wallet to use (default is the main wallet).
Example:
3. Wallet Management Commands
3.1 Creating a new wallet
Usage: qsafe [options] ...
qsafe create --name <wallet_name>
Example:
3.2 Open an Existing Wallet Command:
qsafe load_wallet --name <wallet_name>
Example:
4. Sending Transactions:
4.1 Send Coins to a single address Command:
qsafe payto <address> <amount>
Example:
4.2 Send Coins to multiple addresses Command:
qsafe paytomany [[<address>,<amount>]]
Example:
5. Querying Wallet Information
5.1 Check Wallet Balance Command:
5.2 List Transactions Command:
6. Advanced Features
6.1 Export Wallet Keys Command:
qsafe listaddresses | qsafe getprivatekeys
Example:
6.2 Import Wallet Keys Command:
qsafe importprivkey "privkey"
Example:
7. Developer Tools
7.1 Create a Raw Transaction Command:
qsafe payto <address> <amount>
Example:
7.2 Sign a Transaction Command:
qsafe signtransaction <raw_transaction>
Example:
7.3 Broadcast a Transaction Command:
qsafe broadcast <signed_transaction>
Example:
8. Example Workflows
8.1 Sending Coins:
Open your wallet:
Check your balance:
9. Help and Support
For more detailed usage and advanced commands, use: qsafe -h
.
Visit the official documentation for further assistance.
Types of integrations
Last updated