Skip to content

Commit

Permalink
docs(cli): generate documentation for bulk-add-genesis-account command
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Oct 8, 2024
1 parent 4154e8a commit 49981af
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/command/axoned_genesis.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ axoned genesis [flags]

* [axoned](axoned.md) - Axone - Orchestration Layer for AI
* [axoned genesis add-genesis-account](axoned_genesis_add-genesis-account.md) - Add a genesis account to genesis.json
* [axoned genesis bulk-add-genesis-account](axoned_genesis_bulk-add-genesis-account.md) - Bulk add genesis accounts to genesis.json
* [axoned genesis collect-gentxs](axoned_genesis_collect-gentxs.md) - Collect genesis txs and output a genesis.json file
* [axoned genesis gentx](axoned_genesis_gentx.md) - Generate a genesis tx carrying a self delegation
* [axoned genesis migrate](axoned_genesis_migrate.md) - Migrate genesis to a specified target version
Expand Down
58 changes: 58 additions & 0 deletions docs/command/axoned_genesis_bulk-add-genesis-account.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
## axoned genesis bulk-add-genesis-account

Bulk add genesis accounts to genesis.json

### Synopsis

Add genesis accounts in bulk to genesis.json. The provided account must specify
the account address and a list of initial coins. The list of initial tokens must
contain valid denominations. Accounts may optionally be supplied with vesting parameters.

```
axoned genesis bulk-add-genesis-account [/file/path.json] [flags]
```

### Examples

```
bulk-add-genesis-account accounts.json
where accounts.json is:
[
{
"address": "cosmos139f7kncmglres2nf3h4hc4tade85ekfr8sulz5",
"coins": [
{ "denom": "umuon", "amount": "100000000" },
{ "denom": "stake", "amount": "200000000" }
]
},
{
"address": "cosmos1e0jnq2sun3dzjh8p2xq95kk0expwmd7shwjpfg",
"coins": [
{ "denom": "umuon", "amount": "500000000" }
],
"vesting_amt": [
{ "denom": "umuon", "amount": "400000000" }
],
"vesting_start": 1724711478,
"vesting_end": 1914013878
}
]
```

### 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 bulk-add-genesis-account
--home string The application home directory (default "/home/john/.axoned")
--node string <host>:<port> to CometBFT RPC interface for this chain (default "tcp://localhost:26657")
-o, --output string Output format (text|json) (default "text")
```

### SEE ALSO

* [axoned genesis](axoned_genesis.md) - Application's genesis-related subcommands

0 comments on commit 49981af

Please sign in to comment.