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

fix: change tezos-client to octez-client in README #77

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
16 changes: 8 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ If you are a Youves multisig member you can sign the provided operation using th

### Getting the payload

Using native tezos-client (replace the endpoint ... with a node i.e. https://mainnet-tezos.giganode.io/):
Using native octez-client (replace the endpoint ... with a node i.e. https://mainnet-tezos.giganode.io/):

```
tezos-client --endpoint ... hash data "$(cat YYMMDD_operation.tz)" of type "$(cat ../misc/multisig_signed_type.tz)"
octez-client --endpoint ... hash data "$(cat YYMMDD_operation.tz)" of type "$(cat ../misc/multisig_signed_type.tz)"
```

Using docker tezos-client (replace the endpoint ... with a node i.e. https://mainnet-tezos.giganode.io/):
Using docker octez-client (replace the endpoint ... with a node i.e. https://mainnet-tezos.giganode.io/):

```
docker run -ti --rm tezos/tezos:arm64-9.4.0 tezos-client --endpoint ... hash data "$(cat YYMMDD_operation.tz)" of type "$(cat ../misc/multisig_signed_type.tz)"
docker run -ti --rm tezos/tezos:arm64-9.4.0 octez-client --endpoint ... hash data "$(cat YYMMDD_operation.tz)" of type "$(cat ../misc/multisig_signed_type.tz)"
```

This will produce an output like:
Expand Down Expand Up @@ -48,12 +48,12 @@ You can also use beacon and a compatible beacon wallet (i.e. AirGap) to sign the



#### Using the tezos-client
#### Using the octez-client

You can use the tezos-client for signing those bytes using the following command (make sure to paste the entire payload where it says 0x0507... and you use the right account alias):
You can use the octez-client for signing those bytes using the following command (make sure to paste the entire payload where it says 0x0507... and you use the right account alias):

```
tezos-client sign bytes 0x0507... for my_multisig_account
octez-client sign bytes 0x0507... for my_multisig_account
```

This will produce an output like:
Expand All @@ -70,4 +70,4 @@ Disclaimer:
Signature: edsigtrA7iYbGkAWDK4PpH23yVcrVyHS4FsCtgztQ8Unzm7phpvd2UZecnyPVNTnF65dK9H81u5mn6JjQCzw9if9rr1wtWKCSx4
```

The relevant signature you are required to share is `edsigtrA7iYbGkAWDK4PpH23yVcrVyHS4FsCtgztQ8Unzm7phpvd2UZecnyPVNTnF65dK9H81u5mn6JjQCzw9if9rr1wtWKCSx4`
The relevant signature you are required to share is `edsigtrA7iYbGkAWDK4PpH23yVcrVyHS4FsCtgztQ8Unzm7phpvd2UZecnyPVNTnF65dK9H81u5mn6JjQCzw9if9rr1wtWKCSx4`