Skip to content

Commit

Permalink
README: change example to use oasis cli to sign
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrus committed Dec 4, 2023
1 parent e6429b1 commit 17f70f2
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`] 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://github.com/oasisprotocol/cli
[ADR 0001]: docs/adr/0001-entity-metadata.md
<!-- markdownlint-enable line-length -->

Expand Down

0 comments on commit 17f70f2

Please sign in to comment.