In this document, we will explore the various commands available in Quorum and their usage. Quorum is an Ethereum-based blockchain protocol that is focused on data privacy and designed for enterprise use cases. The command reference guide will help users to understand the different commands and their options, which will enable them to interact effectively with the Quorum blockchain.
Quorum Commands
Quorum provides several commands to help users to interact with the blockchain. Here are some of the most commonly used commands:
geth
Command
The geth
command is used to start a Quorum node. Here are some of the options that can be used with the geth
command:
--datadir
: Specifies the data directory where the blockchain data will be stored.--syncmode
: Specifies the synchronization mode for the node. The available options are “full”, “fast”, and “light”.--networkid
: Specifies the network ID for the Quorum network.--rpc
: Enables the HTTP-RPC server.--rpcaddr
: Specifies the IP address to listen on for HTTP-RPC connections.--rpcapi
: Specifies the API’s offered over the HTTP-RPC interface.--rpccorsdomain
: Specifies the domains that are allowed to connect to the HTTP-RPC server.
Here is an example of how to start a Quorum node using the geth
command:
geth --datadir=/path/to/data/directory --syncmode=full --networkid=15 --rpc --rpcaddr=0.0.0.0 --rpcapi=eth,net,web3,personal,miner --rpccorsdomain="*"