enid gentx

enid gentx

Generate a genesis transaction that creates a validator with self-delegation, signed by the key referenced by the given name in the keyring. Optionally, you can provide a node ID and Bech32 consensus public key. If omitted, they will be retrieved from the priv_validator.json file. The following default parameters are included:

    Delegation Amount:            100000000ueni
    Commission Rate:              0.1
    Commission Max Rate:          0.2
    Commission Max Change Rate:   0.01
    Minimum Self-Delegation:      1

Example:
$ <appd> gentx my-key-name 1000000stake --home=/path/to/home/dir --keyring-backend=os --chain-id=test-chain-1 \
    --moniker="myvalidator" \
    --commission-max-change-rate=0.01 \
    --commission-max-rate=1.0 \
    --commission-rate=0.07 \
    --details="..." \
    --security-contact="..." \
    --website="..."

Usage:
  enid gentx [key_name] [amount] [flags]

Flags:
  -a, --account-number uint                   Account number of the signing account (offline mode only)
      --amount string                         Amount of bonded coins
  -b, --broadcast-mode string                 Transaction broadcast mode (sync|async|block) (default "sync")
      --chain-id string                       Network chain ID
      --commission-max-change-rate string     Maximum commission change rate percentage (daily)
      --commission-rate string                Initial commission rate percentage
      --details string                        (optional) Details of the validator
      --dry-run                               Ignore the --gas flag and simulate the transaction without broadcasting (when enabled, local Keybase is inaccessible)
      --fee-account string                    Fee account to pay for the transaction fees, instead of deducting from the signer
      --fees string                           Pay transaction fees; e.g., 10uatom
      --from string                           Name or address of the private key to use for signing
      --gas string                            Gas limit set for each transaction; set to "auto" to automatically calculate sufficient gas (default 200000)
      --gas-adjustment float                  Adjustment factor multiplied by the estimated value returned from tx simulation; ignored if gas limit is manually set (default 1)
      --gas-prices string                     Decimal format of gas prices to determine transaction fees (e.g., 0.1uatom)
      --generate-only                         Build an unsigned transaction and write it to STDOUT (when enabled, only access local Keybase when a key name is provided)
  -h, --help                                  Help information for gentx
      --home string                           Application home directory (default "~/.eni")
      --identity string                       (optional) Identity signature (e.g., UPort or Keybase)
      --ip string                             Public IP of the node (default "192.168.0.160")
      --keyring-backend string                Choose the backend for the keyring (os|file|kwallet|pass|test|memory) (default "os")
      --keyring-dir string                    Client keyring directory; if omitted, the default "home" directory will be used
      --ledger                                Use connected Ledger device
      --min-self-delegation string            Minimum self-delegation required by the validator
      --moniker string                        (optional) Alias for the validator
      --node string                           <host>:<port> to this chain's tendermint rpc interface (default "tcp://localhost:26657")
      --node-id string                        Node's NodeID
      --note string                           Add a note to the transaction description (formerly --memo)
      --offline                               Offline mode (no online functionality allowed)
  -o, --output string                         Output format (text|json) (default "json")
      --output-document string                Write the genesis transaction JSON document to the given file, instead of the default location
      --p2p-port string                       Public IP port of the node (default "26656")
      --pubkey string                         Protobuf JSON-encoded public key of the validator
      --security-contact string               (optional) Security contact email for the validator
  -s, --sequence uint                         Sequence number of the signing account (offline mode only)
      --sign-mode string                      Choose the signing mode (direct|amino-json), which is an advanced feature
      --timeout-height uint                   Set the block timeout height to prevent the transaction from being committed after exceeding a certain height
      --website string                        (optional) Website of the validator
  -y, --yes                                   Skip the transaction broadcast prompt confirmation

Global Flags:
      --log_format string   Log format (json|plain)
      --log_level string    Log level (trace|debug|info|warn|error|fatal|panic)
      --trace               Print the full stack trace on error

Last updated