Merge PR #2165: Implement generate-only option for commands that create txs

This commit is contained in:
Christopher Goes
2018-09-05 01:12:03 +02:00
committed by GitHub
22 changed files with 281 additions and 31 deletions
+11
View File
@@ -139,6 +139,17 @@ gaiacli send \
--dry-run
```
Furthermore, you can build a transaction and print its JSON format to STDOUT by appending `--generate-only` to the list of the command line arguments:
```bash
gaiacli send \
--amount=10faucetToken \
--chain-id=<chain_id> \
--name=<key_name> \
--to=<destination_cosmosaccaddr> \
--generate-only
```
### Staking
#### Set up a Validator