Skip to content

docs: Add agd query vstorage keys command reference #1122

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

Merged
merged 1 commit into from
Jun 10, 2024
Merged
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
13 changes: 12 additions & 1 deletion main/guides/agoric-cli/agd-query-tx.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ $ agd query bank balances $addr -o json

## agd query gov proposals

Query for a all paginated proposals that match optional filters:
Query for a all paginated proposals that match optional filters.

Example:

Expand All @@ -130,6 +130,17 @@ $ agd query gov proposals --output json | \
["3","2023-11-14T17:44:37.432643476Z","PROPOSAL_STATUS_PASSED"]
```

## agd query vstorage keys

Query for the data residing at specified path in VStorage.

Example:
```
$ agd query vstorage keys 'published.vaultFactory.managers.manager0.vaults'
children:
- vault0
```

## Transaction Commands

Making transactions requires setting up an **account** with a private key for signing. The [basic dapp local chain](../getting-started/#starting-a-local-agoric-blockchain) container has a number of keys set up for use with `--keyring-backend=test`. Use `agd keys list --keyring-backend=test` to see them.
Copy link
Contributor

Choose a reason for hiding this comment

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

makes me wonder, do we have any docs on helping users understand creating new keys, keyrings, adding accounts by recovery etc?

might be useful if we don't have anything. will look to see if we have anything here shortly.

Copy link
Member

Choose a reason for hiding this comment

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

... do we have any docs on helping users understand creating new keys, keyrings, adding accounts by recovery etc?

Not much. Maybe you want to open an issue?

We have sort of gotten by assuming folks get that from stuff like the cosmos delegator guide and Interacting with Gaiad (CLI) | Cosmos Hub ... but pages like that keep going 404.

We used to do more validator training; for example: https://github.com/Agoric/agoric-sdk/wiki/Validator-Guide-for-Devnet#if-you-dont-have-an-operator-key

Expand Down
Loading