Skip to content

Commit

Permalink
Merge pull request #328 from oasisprotocol/ptrus/feature/readme-cli
Browse files Browse the repository at this point in the history
README: add example using oasis cli to sign
  • Loading branch information
ptrus authored Dec 4, 2023
2 parents e6429b1 + 15a1980 commit 991526e
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,14 @@ following steps:

2. Fork this repository.

3. Use the [`oasis-registry`] command to generate a new signed statement. The
command must be run in the directory where you cloned this repository. This
will require the use of an Oasis Core signer (all the same signers and
configuration flags are supported). For example, using a file-based signer:
3. Use the [`oasis-cli`] (minimum version 0.7.1) command to generate a new signed statement.
For example:

```bash
oasis-registry entity update \
--signer.dir /localhostdir/entity \
/path/to/entity-metadata.json
oasis account entity metadata-update \
--account my-entity-account \
--registry-dir /path/to/metadata-registry \
/path/to/entity-metadata.json
```

This will create (or update) the registry entry.
Expand All @@ -65,7 +64,7 @@ following steps:
happens the updated entity metadata will be available for queries.

<!-- markdownlint-disable line-length -->
[`oasis-registry`]: https://github.com/oasisprotocol/metadata-registry-tools
[`oasis-cli`]: https://docs.oasis.io/general/manage-tokens/cli/
[ADR 0001]: docs/adr/0001-entity-metadata.md
<!-- markdownlint-enable line-length -->

Expand Down

0 comments on commit 991526e

Please sign in to comment.