--- title: snrd genesis migrate description: Migrate the source genesis into the target version and print to STDOUT --- # snrd genesis migrate Migrate the source genesis into the target version and print to STDOUT ## Usage ```shell snrd genesis migrate [target-version] [genesis-file] [flags] ``` ## Flags Override chain_id with this flag Override genesis_time with this flag for migrate Exported state is written to the given file instead of STDOUT ## Global Flags Transaction broadcasting mode (sync|async) 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) directory for config and data Select keyring's backend The logging format (json|plain) The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') colored logs <host>:<port> to tendermint rpc interface for this chain out full stack trace on errors ## Examples ### Basic usage ```shell snrd genesis migrate ``` ## See Also - [snrd genesis](./snrd_genesis.mdx) - Parent command