Here's the adapted guide for interacting with the BTQ network using the Command Line Interface (CLI)
BTQ Node Command Line Interface
Interacting with the BTQ network can be done utilizing the CLI interface. This allows you to complete advanced tasks on the network. Using the CLI is straightforward, and there is a helpful --help section to guide you.
It is recommended that you have a local working installation of BTQ to use the CLI. Refer to the Node installation instructions to get started. Follow the guide to set up a BTQ node if you haven't already.
Remote Node Connection
You can connect to a remote node that allows external connections. Use the --host {REMOTE_IP_ADDRESS} flag on the CLI to connect.
Overview
Running commands using the BTQ node CLI requires the BTQ node software to be installed. Refer to the documentation for installation instructions and the full Node CLI documentation.
CLI Help
All command line options have a help file available to assist in their usage. Simply add the --help option to the end of any command to see the help.
btq--help
Usage
Usage:btq [OPTIONS] COMMAND [ARGS]...BTQCommandLineInterfaceOptions:-v,--verboseverboseoutputwheneverpossible--hostTEXTremotehostaddress [127.0.0.1]--port_pubINTEGERremoteportnumber (public api) [19009]--wallet_dirTEXTlocalwalletdir--jsonoutputinjson--versionShowtheversionandexit.--helpShowthismessageandexit.Commands:slave_tx_generateGeneratesSlaveTransactionforthewalletstateShowsInformationaboutaNode's State token_list Fetch the list of tokens owned by an address. tx_inspect Inspects a transaction blob tx_message Message Transaction tx_multi_sig_create Creates Multi Sig Create Transaction, that... tx_multi_sig_spend Transfer coins from src to dsts tx_push Sends a signed transaction blob to a node tx_token Create Token Transaction, that results into... tx_transfer Transfer coins from src to dsts tx_transfertoken Create Transfer Token Transaction, which... wallet_add Adds an address or generates a new wallet... wallet_decrypt wallet_encrypt wallet_gen Generates a new wallet with one address wallet_ls Lists available wallets wallet_recover Recovers a wallet from a hexseed or mnemonic... wallet_rm Removes an address from the wallet using the... wallet_secret Provides the mnemonic/hexseed of the given...