Skip to main content
Version: v7.1.0

okp4d_genesis_add-genesis-account

okp4d genesis add-genesis-account

Add a genesis account to genesis.json

Synopsis

Add a genesis account to genesis.json. The provided account must specify the account address or key name and a list of initial coins. If a key name is given, the address will be looked up in the local Keybase. The list of initial tokens must contain valid denominations. Accounts may optionally be supplied with vesting parameters.

okp4d genesis add-genesis-account [address_or_key_name] [coin][,[coin]] [flags]

Options

      --append                   append the coins to an account already in the genesis.json file
--grpc-addr string the gRPC endpoint to use for this chain
--grpc-insecure allow gRPC over insecure channels, if not the server must use TLS
--height int Use a specific height to query state at (this can error if the node is pruning state)
-h, --help help for add-genesis-account
--home string The application home directory (default "/home/john/.okp4d")
--keyring-backend string Select keyring's backend (os|file|kwallet|pass|test) (default "test")
--module-name string module account name
--node string <host>:<port> to CometBFT RPC interface for this chain (default "tcp://localhost:26657")
-o, --output string Output format (text|json) (default "text")
--vesting-amount string amount of coins for vesting accounts
--vesting-end-time int schedule end time (unix epoch) for vesting accounts
--vesting-start-time int schedule start time (unix epoch) for vesting accounts

SEE ALSO