Skip to main content

Qclient Commands

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

Global Flags

These flags can be used with any qclient command:

FlagDescription
--public-rpc=<true|false>Forces use of public RPC endpoint (overrides config setting)
--config <Path>Specifies a custom configuration file path
--signature-check=<true|false>Override signature verification setting
--dry-runPreview actions and costs without executing (where applicable)

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 update [<Version>] [--signature-check]Updates qclient to specified or latest version with optional signature verification.
Download-Signaturesqclient download-signatures [--version <Version>]Downloads signature files for specified or current version.
Config Create Defaultqclient config create-defaultCreates a default configuration file.

Token Commands

CommandSyntaxDescription
Parent Commandqclient tokenParent command for all token operations.
Query Accountqclient token accountShows the managing account address.
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).
Mint Tokensqclient token mint <ProofHex> [<RecipientAccount>]Mints new tokens using a proof (mintable tokens only).
Transferqclient token transfer <ToAccount> [<RefundAccount>] [--expiration|-e <Expiration>] <Amount|OfCoin>Creates a pending transaction with optional expiration.
Transfer Rawqclient token transfer raw <JsonTransaction>Advanced transfer with full control over transaction structure.
Split Coinsqclient token split <OfCoin> <Amounts>... [--parts|-p <n>] [--part-amount|-a <amount>]Splits a coin with flexible options.
Merge Coinsqclient token merge [all|<CoinAddresses>...]Merges all coins or specific coin addresses.
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.

Hypergraph Commands

CommandSyntaxDescription
Get Vertexqclient hypergraph get vertex <FullAddress> [<EncryptionKeyBytes>]Retrieves and displays vertex data with optional decryption.
Put Vertexqclient hypergraph put [--domain|-d <DomainAddress>] vertex [<PropertyName>=<PropertyValue>] [<EncryptionKeyBytes>]Creates or updates a vertex with validation and optional encryption.
Get Hyperedgeqclient hypergraph get hyperedge <FullAddress> [<EncryptionKeyBytes>]Retrieves and displays hyperedge data with optional decryption.
Put Hyperedgeqclient hypergraph put [--domain|-d <DomainAddress>] hyperedge <FullAddress> [<AtomAddress>, ...] [<EncryptionKeyBytes>]Creates or updates a hyperedge connecting vertices.

Compute Commands

CommandSyntaxDescription
Executeqclient compute execute <FullAddress> [<Rendezvous>] [<PartyId>] [<ArgumentKey>=<ArgumentValue>]Executes computation with optional multi-party coordination.

Deploy Commands

CommandSyntaxDescription
Deploy (Default)qclient deployParent command that defaults to compute deployment.
Deploy Computeqclient deploy compute [--domain|-d <DomainAddress>] <QCLFileName> [<RDFFileName>]Deploys QCL application with optional RDF schema.
Deploy Fileqclient deploy file [--domain|-d <DomainAddress>] <FileName> [<EncryptionKeyBytes>]Deploys file to hypergraph with optional encryption.
Deploy Tokenqclient deploy token [<ConfigurationKey>=<ConfigurationValue> ...]Deploys custom token with configurable properties.
Deploy Hypergraphqclient deploy hypergraph [<ConfigurationKey>=<ConfigurationValue> ...] [<RDFFileName>]Deploys hypergraph schemas and configurations.

Key Commands

CommandSyntaxDescription
List Keysqclient key listLists all available keys in the keystore.
Create Keyqclient key create <Name> <KeyType> [<Purpose>]Creates a new cryptographic key with specified alias and type.
Import Keyqclient key import <Name> <KeyBytes>Imports an existing key into the keystore.
Delete Keyqclient key delete <Name>Removes a key from the keystore.
Sign Payloadqclient key sign [--domain|-d <DomainAddress>] <Name> <Payload>Signs raw payload and optionally broadcasts to domain.

Messaging Commands

CommandSyntaxDescription
Retrieve Messagesqclient message retrieve [<InboxKeyName>]Retrieves messages for specified or all inboxes.
Send Messageqclient message send <InboxKeyName> <RecipientInboxKeyAddress> <Message>Sends encrypted message to recipient.
Show Messagesqclient message list <InboxKeyName>Displays stored messages for specified inbox.
Delete Messageqclient message delete <InboxKeyName> <MessageId>Removes message from local storage.

Node Commands

CommandSyntaxDescription
Installqclient node install [<Version>]Installs the node binary and service with optional version specification.
Updateqclient node update [<Version>] [--restart|-r]Updates node with optional version and restart.
Auto-Updateqclient node auto-update <enable|disable|status>Manages automatic updates with status checking.
Cleanqclient node clean [--all|--logs|--node]Cleans old files with specific options for logs or node binaries.
Linkqclient node link [--version|-v <Version>]Creates version-specific symlink for node binary.
Infoqclient node info [<ConfigName>] [--latest-version|-l]Gets node information with optional config and latest version check.
Uninstallqclient node uninstall [--force]Completely removes node from system with optional force flag.

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 merge <PrimaryConfigPath> [<AdditionalConfigPaths> ...]Merges configs for seniority preservation.
Prover Pauseqclient node prover pause [<WorkerId>]Emergency pause for prover with optional worker ID.
Prover Statusqclient node prover status [<WorkerId>]Lists prover worker statuses, shard assignments, and storage availability.
Prover Leaveqclient node prover leave [<WorkerId>]Initiates graceful prover leave from network.
Prover Delegateqclient node prover delegate [<DestinationAddress>]Delegates prover rewards to alternative address.

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>] [<SourceDirectory>] [--default|-d]Imports config files from directory with optional default flag.
Setqclient node config set <Key> <Value>Modify a key in the default config file (keys: engine.statsMultiaddr, p2p.listenMultiaddr, listenGrpcMultiaddr, listenRestMultiaddr).
Switchqclient node config switch [<Name>]Switches the active configuration set to the specified name. If no name is provided, lists available options to choose.
Assign Rewardsqclient node config assign-rewards [config-name]Assigns reward collection to a specific configuration.
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.
Create Defaultqclient config create-defaultCreates a default configuration file.
Public RPCqclient config public-rpc [true|false]Sets/toggles defaulting to public RPC usage.
Set Custom RPCqclient config set-custom-rpc [<Url>|clear]Sets custom RPC URL (format: domain:port) or clears it.
Signature Checkqclient config signature-check [enable|disable]Sets/toggles signature verification for downloads.

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.