---
title: snrd genesis collect-gentxs
description: Collect genesis txs and output a genesis.json file
---
Collect genesis txs and output a genesis.json file. This command iterates over all genesis transactions in the gentx directory and merges them into the genesis.json file.
## Usage
```shell
snrd genesis collect-gentxs [flags]
```
## Flags
## Global Flags
## Examples
### Collect genesis transactions
```shell
snrd genesis collect-gentxs
```
### Collect from custom directory
```shell
snrd genesis collect-gentxs --gentx-dir ./custom-gentx/
```
## See Also
- [snrd genesis](./snrd_genesis) - Genesis-related subcommands
- [snrd genesis gentx](./snrd_genesis_gentx) - Generate a genesis tx carrying a self delegation
- [snrd genesis add-genesis-account](./snrd_genesis_add-genesis-account) - Add a genesis account to genesis.json