configtxgen¶
The configtxgen command generates Fabric-X configuration artifacts such as genesis blocks and channel configuration transactions.
configtxgen¶
Usage of configtxgen:
-asOrg string
Performs the config generation as a particular organization (by name), only including values in the write set that org (likely) has privilege to set
-channelCreateTxBaseProfile string
[DEPRECATED] Specifies a profile to consider as the orderer system channel current state to allow modification of non-application parameters during channel create tx generation. Only valid in conjunction with 'outputCreateChannelTx'.
-channelID string
The channel ID to use in the configtx
-configPath string
The path containing the configuration to use (if set)
-inspectBlock string
Prints the configuration contained in the block at the specified path
-inspectChannelCreateTx string
[DEPRECATED] Prints the configuration contained in the transaction at the specified path
-outputBlock string
The path to write the genesis block to (if set)
-outputCreateChannelTx string
[DEPRECATED] The path to write a channel creation configtx to (if set)
-printOrg string
Prints the definition of an organization as JSON. (useful for adding an org to a channel manually)
-profile string
The profile from configtx.yaml to use for generation.
-version
Show version information
Related commands¶
cryptogengenerates sample cryptographic material.fxconfigcreates, endorses, merges, and submits Fabric-X configuration transactions.
This page is generated from the CLI help output. To update it, rebuild the relevant binaries and run scripts/help_docs.sh generate.