It has been a while since my last update. We have started using a new tool, Claude Code, which has dramatically changed our development process, and we are currently learning how to use it effectively. As you can already see the results, we were able to deliver all previously missing Hive operations that require an active or owner key (and even more) in this release. Additionally, we addeded support for memo encryption and the ability to call the Hive API directly.
New operations in CLI
Account recovery process in CLI
Account recovery allows users to regain control of a compromised account by changing the owner authority through a two-step process:
- Request: Performed by the RECOVERY ACCOUNT. Initiates recovery for a compromised account, proposing a new owner key. Requires active authority of the recovery account. Creates a 24-hour window to complete recovery.
- Recovery: Performed by the OWNER OF THE COMPROMISED ACCOUNT. Confirms recovery by providing the new owner public key(matching the request) and a recent owner key (valid within the last 30 days). Must be signed with keys satisfying both keys. Must be completed within 24 hours of the request.
Clive uses two blockchain operations:
- request_account_recovery - creates the request
- recover_account_operation - confirms the request
For more details, run: clive process account-recovery request -h
For more details, run: clive process account-recovery recover -h
Convert operations in CLI
Convert operations allow users to exchange between HIVE and HBD. Convert operations exchange at the blockchain's median price determined by witnesses over 3.5 days, guaranteeing execution but without control over the exact rate.
Clive uses two blockchain operations:
- convert_operation - converts HBD to Hive.
- collateralized_convert_operation - converts HIVE to HBD.
For more details, run: clive process convert -h
Limit order management in CLI
Limit orders allow users to place buy/sell orders on the internal HIVE/HBD decentralized exchange (DEX) at a specified price, with orders remaining open until filled, cancelled, or expired. Unlike convert operations - there is no fee (like in convert operations HIVE -> HBD) and you receive funds immediately when it's filled.
Clive uses the following blockchain operations:
- limit_order_create_operation - creates an order with specified amount to receive
- limit_ order_create2_operation - creates an order with specified price
- limit_order_cancel_operation - cancels orders
For more details, run: clive process order -h
Escrow process in CLI
Escrow allows a sender to lock funds (HIVE/HBD) in a temporary holding account with a designated agent who acts as a mediator in case of a dispute between the sender and receiver. Both the agent and receiver must approve the escrow before a ratification deadline; once active, funds can be released by the parties or, if disputed, solely by the agent.
Clive uses the following blockchain operations:
- escrow_transfer_operation - creates an escrow transfer
- escrow_approve_operation - accepts or rejects escrow
- escrow_release_operation - releases funds
- escrow_dispute_operation - rises a dispute
For more details, run: clive process escrow -h
Claim rewards
Claim rewards allows users to collect pending rewards (HIVE, HBD, and HP) that have been earned through content creation and curation and are waiting in the account's reward balance. Once claimed, the rewards are transferred to the account's liquid or vesting balance and become available for use. This operation requires the posting key to sign.
Clive uses the following blockchain operation:
- claim_reward_balance_operation
For more details, run: clive process claim rewards -h
Social operations – follow, mute
Social operations allow users to follow, unfollow, mute, and unmute other Hive accounts. Those operations require the posting key to sign.
Clive uses the following blockchain operation:
- custom_operation
For more details, run: clive process social -h
Memo encryption and decryption
Memo encryption allows users to send private messages within operations that contain memos by encrypting the memo field using the sender's and receiver's memo keys, ensuring only the intended parties can read it.
You can broadcast operations with encrypted memos using CLI and TUI.
Decryption is only available in CLI. It can be done via the clive crypto decrypt command, which decodes encrypted memos using the account's memo key.
For more details, run: clive crypto decrypt -h
Call the node API
Clive call allows users to directly invoke any Hive node API method from the command line by specifying the API name, method, and parameters, returning the raw JSON response.
Look at swagger at https://api.hive.blog/ section "Legacy Hive JSON-RPC API" for available APIs and methods.
For more details, run: clive call -h
Complete list of corrected issues
The scripts that allow you to run Clive are here:
https://gtg.openhive.network/get/clive/