Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #319

Open
wants to merge 16 commits into
base: staging
Choose a base branch
from
Open

Update README.md #319

wants to merge 16 commits into from

Conversation

digismash
Copy link

A brief description of the changes in this PR:

Tasks to complete before merging PR:

  • Ensure system tests are passing. If not Run them manually to check for any regressions 📋
  • Do any new system tests need added to test this change? do any existing system tests need updated? If so create a PR at 0chain/system_test
  • Merge your system tests PR to master AFTER merging this PR

Associated PRs (Link as appropriate):

  • blobber:
  • gosdk:
  • system_test:
  • zboxcli:
  • 0chain:
  • Other: ...

@digismash digismash marked this pull request as ready for review November 4, 2023 12:43
README.md Outdated
@@ -1,6 +1,6 @@
# zwallet - a CLI for Züs wallet

`zwallet` is a command line interface (CLI) to demonstrate the wallet functionalities of Züs.
ZWallet CLI is a Go-based command-line tool for managing ZCN tokens on the Züs blockchain. It provides an interactive way to receive, send, store, stake, and exchange ZCN tokens, as well as fetch information about Züs components such as miners, sharders, and blobbers.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing: ZWallet CLI is also used to create and manage wallet


For instance, the user can start with 10 data and 5 parity providers and select where they are located globally, and later decide to add a provider on-the-fly to increase resilience, performance, or switch to a lower cost provider.
For instance, the user can start with 10 data and 5 parity providers and select where they are located globally, and later decide to add a provider on-the-fly to increase resilience, and performance or switch to a lower-cost provider.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lower-cost provider is fine but Low-cost provider is most commonly used phrase

README.md Outdated
| `--configDir` | Config directory | `~/.zcn` |
| `--network` | [Network file](#override-network) | `network.yaml` |
| `--silent` | Do not print detailed logs | `false` |
| `--h,--help` | Shows help/parameters for a particular command (./zwallet -h) will list all help commands. To know detail about a particular command like example 'send' use (./zwallet send --help ) | |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for --help command spacing is not correct

README.md Outdated
| `--silent` | Do not print detailed logs | `false` |
| `--h,--help` | Shows help/parameters for a particular command (./zwallet -h) will list all help commands. To know detail about a particular command like example 'send' use (./zwallet send --help ) | |
| `--config` | [Config file](https://github.com/0chain/zwalletcli/blob/staging/network/config.yaml) and [description](https://github.com/0chain/zwalletcli#zcnconfigyaml). Configuration file | `config.yaml` |
| `--configDir` | Configuration directory | `~/.zcn` |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incrase the parameter coplumn size so that commands can fit in and does not break line for commands

README.md Outdated

```sh
./zwallet faucet --methodName pour --input "new wallet"
```

#### Creating a second wallet with 'faucet' command

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The output for this command shows that this command is finding if a wallet exists or not then its creating another wallet so its better to allign the command with the heading or change the heading to "Creating a second wallet with 'faucent' command " then its output should not show that the no wallet exists in the path because its task is to create the wallet not to find an existing wallet

README.md Outdated
@@ -667,7 +671,7 @@ To use a different wallet as sender, use `--wallet` global parameter.
| --------- | -------- | ----------------------------- | ------- | ---------------------- |
| `--hash` | Yes | Hash of transaction to verify | | valid transaction hash |

Note: Not all `zwallet` commands (eg. `send`) prints the transaction hash created. To see more details printed including the hashes, use `--verbose` global parameter.
Note: Not all `zwallet` commands (e.g., `send`) prints the transaction hash created. To see more details printed, including the hashes, use `--verbose` global parameter.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(e.g., send) should be (e.g, send)

Copy link

@HassanAbbas7357 HassanAbbas7357 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have commented out some minor mistakes please walk though the comments to fix them accordingly

@digismash digismash assigned digismash and unassigned hm90121 Nov 7, 2023
@digismash digismash added the documentation Improvements or additions to documentation label Nov 7, 2023
@digismash digismash assigned hm90121 and unassigned digismash Nov 11, 2023
@hm90121 hm90121 added the WIP label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DO NOT MERGE documentation Improvements or additions to documentation WIP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants