CLI Command Overview
In this tutorial, you will learn about the Command Line Interface(CLI) introduction related to fiammad zkpverify and bitvmstaker.
Note! that the CLI here refers to transactions and queries in the fiamma verification network and doesn't include the regular cosmos application chain.
The Fiamma Command Line Interface(CLI) provides essential commands to manage zero-knowledge proofs and staker accounts, streamlining interactions with the blockchain. Use the commands and options as described to perform operations effectively.
Use CLI tools fiammad
you can:
send zkpverify transactions with
tx zkpverify [command] [flags]
and queries withquery zkpverify [command] [flags]
send bitvmstaker transactions with
tx bitvmstaker [command] [flags]
and queries withquery bitvmstaker [command] [flags]
Global Flags usually contains: --from
, --chain-id
, --gas
, --node
, --keyring-backend
.
command currently support:
Tx Type CLI
Zkpverify transactions
Bitvmstaker transactions
submit-proof
A (zkpverify) operation for verifying a proof by namespace, proof_system, proof, public_input and vk.
request params:
submit-community-verification
A community (zkpverify) operation for verifying a proof by proof_id and verify_result.
request params:
create-staker
A committee (bitvmstaker) operation for create a new staker account on the Fiamma blockchain by staker address.
request params:
remove-staker
A committee (bitvmstaker) operation for removing a staker account on the Fiamma blockchain by staker address. This action can be necessary for managing the network's staker list, ensuring that only valid stakers participate.
request params:
register-vk
A committee (bitvmstaker) operation for registering a new verification key (VK) for a specific proof system on the blockchain by verification key. This is essential for validating the correctness of proofs submitted to the network.
request params:
remove-vk
A committee (bitvmstaker) operation for removing a previously registered verification key (VK) for a specific proof system on the blockchain by verification key. This command is essential for maintaining the integrity of the verification processes by allowing the removal of outdated or incorrect VKs.
request params:
update-committee-address
A committee (bitvmstaker) operation for updating the address of the committee responsible for overseeing the blockchain operations or specific proof systems. This is crucial for ensuring that the governance structure is current and that the correct addresses are in use for administrative tasks.
request params:
Query Type CLI
Zkpverify queries
Bitvmstaker queries
get-bitvm-challenge-data
Query bitVM chanllenge data stored in the fiamma by proof_id.
request params:
response:
get-proof-data
Query Proof data stored in the fiamma by proof_id.
request params:
response:
get-verify-result
Query Proof verify status stored in the fiamma by proof_id.
request params:
response:
get-verify-results-by-namespace
Query Proof verify status stored in the fiamma by namespace.
request params:
response:
pending-proof
Queries a list of pending proof verification items.
There is no request param for this method.
response:
pending-proof-by-namespace
Queries a list of pending proof verification items by namespace.
request params:
response:
all-staker-info
Queries a list of holding information about all the stakers. It may include details such as staker_index and staker_address.
response:
committee-address
Queries the address associated with the committee responsible for overseeing certain operations or governance within Fiamma blockchain system.
response:
registered-vk-list
Queries a list of registered verification keys (VKs).
response:
Last updated