generated from okp4/template-oss
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(cli): generate documentation for bulk-add-genesis-account command
- Loading branch information
Showing
2 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |