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

feat!: Overhaul CLI #202

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

- Overhauled the command interface; broke up `neuron-manage` and unified command and flag names between NNS and SNS. (#202)
- Added `--subaccount` to `quill public-ids`. (#201)
- Added Ledger support via `--ledger`. (#199)
- Added `--confirmation-text` to `quill sns pay`. (#195)
Expand Down
146 changes: 111 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ crc32fast = "1.3.2"
data-encoding = "2.3.3"
flate2 = "1.0.22"
hex = { version = "0.4.2", features = ["serde"] }
humantime = "2"
hidapi = { version = "1.4", default-features = false, optional = true }
indicatif = "0.17"
itertools = "0.10.5"
Expand All @@ -61,6 +62,7 @@ serde_bytes = "0.11.2"
serde_cbor = "0.11.2"
serde_json = "1.0.57"
sha3 = "0.10.6"
time = "0.3"
tiny-bip39 = "1.0.0"
tokio = { version = "1.18.5", features = ["full"] }

Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ To get the principal and the account id:

This is how you’d stake/top-up a neuron:

quill neuron-stake --amount 2.5 --name 1 --pem-file <path>
quill stake-neuron --amount 2.5 --name 1 --pem-file <path>

Managing the neuron:

quill neuron-manage <neuron-id> [OPERATIONS] --pem-file <path>
quill vote <neuron-id> --proposal-id <id> --approve --pem-file <path>
quill spawn <neuron-id> --percentage 75

All the commands above will generate signed messages, which can be sent on the online machine using the `send` command
from above.
Expand Down
Loading