Skip to main content

Qclient Commands

Please see the QClient 101 guide for details how to use.

General

CommandSyntaxDescription
Versionqclient version [--checksum|-c]Displays the current version of the qclient application. Optionally, can get the checksum for the current binary.
Cross-Mintqclient cross-mint [payload]Initiates a cross-mint operation for token management across networks (currently supporting Ethereum).
Linkqclient linkLinks the qclient to a specific node or service for easy interaction.
Updateqclient updateChecks for and applies updates to the qclient application.
Download-Signaturesqclient download-signaturesDownloads necessary signatures for the current version's binary.

Token Commands

CommandSyntaxDescription
Query Balanceqclient token balanceDisplays the total QUIL balance and associated account address.
Query Coinsqclient token coinsLists individual coins owned by the account.
Query Coins with Metadataqclient token coins metadataLists individual coins with additional metadata (e.g., frame number, timestamp).
Transferqclient token transfer <ToAccount> <RefundAccount> <Amount|OfCoin>Creates a pending transaction to send an amount or specific coin.
Split Coinsqclient token split <OfCoin> <LeftAmount> <RightAmount>Splits a coin into two new coins with specified amounts.
Merge Coinsqclient token merge <LeftCoin> <RightCoin>Merges two coins into a single coin.
Accept Transactionqclient token accept <PendingTransaction>Accepts a pending transaction, completing the transfer.
Reject Transactionqclient token reject <PendingTransaction>Rejects a pending transaction, creating a new pending transaction for the refund.
Mutual Receiveqclient token mutual-receive <ExpectedAmount>Initiates a mutual transfer by generating a rendezvous ID for the sender.
Mutual Transfer (Sender)qclient token mutual-transfer <Rendezvous> <Amount|OfCoin>Sends the agreed amount or coin using the rendezvous ID from the receiver.

Node Commands

CommandSyntaxDescription
Installqclient node installInstalls the node application and necessary dependencies.
Updateqclient node updateChecks for and applies updates to the node application.
Auto-Updateqclient node auto-update [enable|disable]Enables or disables automatic updates for the node application via a cron task.
Cleanqclient node cleanRemoves unnecessary or temporary files related to the node application.
Linkqclient node link [-v|--version]Links the qclient to a specific node for streamlined interaction.
Infoqclient node info [name] [--latest-version]Displays detailed information about the node. Alias to 'quilibrium-node --node-info'. Defaults to the config set for running the node, although you can specify the name if you have multiple configs. --latest-version will print the latest version available.

Node Service Commands

CommandSyntaxDescription
Startqclient node service startStarts the node service if it is installed.
Stopqclient node service stopStops the node service if it is running.
Restartqclient node service restartRestarts the node service.
Statusqclient node service statusChecks the current status of the node service.
Enableqclient node service enableEnables the node service to start automatically on boot.
Disableqclient node service disableDisables the node service from starting automatically on boot.
Reloadqclient node service reloadReloads the node service configuration.
Installqclient node service installInstalls the node service on the system.
Updateqclient node service updateUpdates the node service configuration file.
Uninstallqclient node service uninstallRemoves the node service from the system.

Node Prover Commands

CommandSyntaxDescription
Prover Mergeqclient node prover mergeMerges prover seniority data into a single, assigned config.
Prover Pauseqclient node prover pauseIssue a notice to the network of a prover/config being paused to avoid penalization.

Node Config Commands

CommandSyntaxDescription
Createqclient node config create [name] [--default|-d]Creates a new configuration set for the node with a name*. Optionally assign it to be used by the node with the --default (-d) flag.
Importqclient node config import [name] <path> [--default]Imports an existing set of config folder from the specified path to the given name, with an optional flag to set as default.
Setqclient node config set <key> <value>Modify a key in the default config file.
Switchqclient node config switch [name]Switches the active configuration set to the specified name. If no name is provided, lists available options to choose.
note

*Cannot use the name 'default'. This is reserved for node operations.

QClient Config Commands

CommandSyntaxDescription
Printqclient config printPrints the current configuration settings for QClient.
Public RPCqclient config public-rpc [true|false]Sets the configuration to always use a public RPC endpoint for network interactions.
Set Custom RPCqclient config set-custom-rpc <endpoint>Overrides the default light client RPC (the Quilibrium's public RPC).
Signature Checkqclient config signature-check [enable|disable]Allows you to persist a signature check disable for all future QClient commands.

Local Alias Commands

CommandSyntaxDescription
Addqclient config alias add <alias> <address>Adds a new alias for a given address, making it easier to reference in commands.
Createqclient config alias create <alias> <address>Creates a new alias for a specified address (synonymous with 'add').
Updateqclient config alias update <alias> <new-address>Updates an existing alias to point to a new address.
Deleteqclient config alias delete <alias>Removes an alias from the list, deleting the reference to the associated address.
Listqclient config alias listDisplays all configured aliases and their corresponding addresses, also returns addresses for local node accounts that have been imported.