--- title: snrd genesis add-genesis-account description: Add a genesis account to genesis.json. The provided account must specify --- # snrd genesis add-genesis-account Add a genesis account to genesis.json. The provided account must specify ## Usage ```shell snrd genesis add-genesis-account [address_or_key_name] [coin][,[coin]] [flags] ``` ## Flags the coins to an account already in the genesis.json file the gRPC endpoint to use for this chain gRPC over insecure channels, if not the server must use TLS Use a specific height to query state at (this can error if the node is pruning state) for add-genesis-account The application home directory Select keyring's backend (os|file|kwallet|pass|test) module account name <host>:<port> to CometBFT RPC interface for this chain Output format (text|json) amount of coins for vesting accounts schedule end time (unix epoch) for vesting accounts schedule start time (unix epoch) for vesting accounts ## Global Flags Transaction broadcasting mode (sync|async) Specify Chain ID for sending Tx Fees to pay along with transaction; eg: 10aatom Name or address of private key with which to sign adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored Gas prices to determine the transaction fee (e.g. 10aatom) The logging format (json|plain) The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') colored logs out full stack trace on errors ## Examples ### Add account with initial coins ```shell snrd genesis add-genesis-account alice 1000000snr ``` ## See Also - [snrd genesis](./snrd_genesis.mdx) - Parent command