network
Usage: pmc network [OPTIONS] COMMAND [ARGS]...
Commands relating to the network as a whole
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────╮
│ initialize Create system cluster with naked system container│
│ for the directory blockchain. Module argument │
│ initial_provider becomes first member of SYSTEM_P│
│ voter set. │
│ initialize-economy-chain Create and initialize economy chain. Please run │
│ the command without supplying the configuration │
│ to retry a failed initialization. │
│ initialize-token-chain Create and initialize token chain. Please run the│
│ command without supplying the configuration to │
│ only run initialize operation. │
│ initialize-evm-transaction-submitter-chain │
│ Create and initialize EVM transaction submitter │
│ chain │
│ initialize-evm-event-receiver-chain │
│ Create and initialize EVM event receiver chain │
│ initialize-evm-event-receiver-price-oracle-chain │
│ Create and initialize EVM event receiver price │
│ oracle chain │
│ initialize-evm-event-receiver-token-chain │
│ Create and initialize EVM event receiver token │
│ chain │
│ initialize-price-oracle-chain │
│ Create and initialize Price oracle chain │
│ summary Show summary of the network │
│ version Shows network version │
│ verify Verify that all nodes are accessible │
╰─────────────────────────────────────────────────────────────────────────────╯
The network command (pmc network) consists of sub-commands that initialize a network and show a summary or version of
an existing network.
network initialize
Usage: pmc network initialize [OPTIONS]
Create system cluster with naked system container for the directory
blockchain. Module argument initial_provider becomes first member of SYSTEM_P
voter set.
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│* -sac, --system-anchoring-config=PATH │
│ Configuration file for system anchoring chain (GtvML│
│ (*.xml) or Gtv (*.gtv)) │
│* -cac, --cluster-anchoring-config=PATH │
│ Configuration file for cluster anchoring chain │
│ (GtvML (*.xml) or Gtv (*.gtv)) │
│ -ecc, --economy-chain-config=PATH │
│ Configuration file for economy chain (GtvML (*.xml) │
│ or Gtv (*.gtv)) │
│ -tcc, --token-chain-config=PATH │
│ Configuration file for token chain (GtvML (*.xml) or│
│ Gtv (*.gtv)) │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The initialize command (pmc network initialize) creates a system cluster. The system cluster has a naked system
container for the directory blockchain.
network initialize-economy-chain
Usage: pmc network initialize-economy-chain [OPTIONS]
Create and initialize economy chain. Please run the command without supplying
the configuration to retry a failed initialization.
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│ -ecc, --economy-chain-config=PATH │
│ Configuration file for economy chain (GtvML (*.xml) or│
│ Gtv (*.gtv)) │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The initialize-economy-chain command (pmc network initialize-economy-chain) creates and initializes the Economy Chain.
network initialize-token-chain
Usage: pmc network initialize-token-chain [OPTIONS]
Create and initialize token chain. Please run the command without supplying
the configuration to only run initialize operation. In case deployer key is
not the same as the initializer key on token chain, run the command with
'--only-deploy' flag first.
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│ -tcc, --token-chain-config=PATH │
│ Configuration file for token chain (GtvML (*.xml) or │
│ Gtv (*.gtv)) │
│ --only-deploy Don't call initialize operation on token chain │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The initialize-token-chain command (pmc network initialize-token-chain) creates and initializes the Token Chain.
network initialize-evm-transaction-submitter-chain
Usage: pmc network initialize-evm-transaction-submitter-chain [OPTIONS]
Create and initialize EVM transaction submitter chain
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│ -tsc, --transaction-submitter-config=PATH │
│ Configuration file for EVM transaction submitter chain│
│ (GtvML (*.xml) or Gtv (*.gtv)) │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The network initialize-evm-transaction-submitter-chain command
(pmc network initialize-evm-transaction-submitter-chain) creates and initializes the EVM transaction submitter chain.
network initialize-evm-event-receiver-chain
Usage: pmc network initialize-evm-event-receiver-chain [OPTIONS]
Create and initialize EVM event receiver chain
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│ -erc, --event-receiver-config=PATH │
│ Configuration file for EVM event receiver chain (GtvML│
│ (*.xml) or Gtv (*.gtv)) │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The network initialize-evm-event-receiver-chain command (pmc network initialize-evm-event-receiver-chain) creates and
initializes the EVM event receiver chain.
network initialize-evm-event-receiver-price-oracle-chain
Usage: pmc network initialize-evm-event-receiver-price-oracle-chain [OPTIONS]
Create and initialize EVM event receiver price oracle chain
╭─ Configuration Properties ─────────────────────────────────── ───────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│ -erc, --event-receiver-config=PATH │
│ Configuration file for EVM event receiver price oracle│
│ chain (GtvML (*.xml) or Gtv (*.gtv)) │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The network initialize-evm-event-receiver-price-oracle-chain command
(pmc network initialize-evm-event-receiver-price-oracle-chain) creates and initializes EVM event receiver price oracle
chain.
network initialize-price-oracle-chain
Usage: pmc network initialize-price-oracle-chain [OPTIONS]
Create and initialize Price oracle chain
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│ -poc, --price-oracle-config=PATH │
│ Configuration file for Price oracle chain (GtvML │
│ (*.xml) or Gtv (*.gtv)) │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The network initialize-price-oracle-chain command (pmc network initialize-price-oracle-chain) creates and initializes
the Price oracle chain.
network initialize-token-chain
Usage: pmc network initialize-token-chain [OPTIONS]
Create and initialize token chain. Please run the command without supplying
the configuration to only run initialize operation. In case deployer key is
not the same as the initializer key on token chain, run the command with
'--only-deploy' flag first.
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │