<p>The following command gives the hash of a payment address</p>
<pre><code>cardano-cli address key-hash --payment-verification-key-file payment.vkey
</code></pre>
<p>Remember to change the file name from <em>payment.vkey</em></p>

CC BY-SA 4.0
2022-01-27T14:22:16.970Z
2022-01-27T14:22:16.970Z
Tuvshintsenguun
<p>I need to use <code>--required-signer-hash</code> instead of <code>--required-signer</code> because I don't want to have access to the payment signing key, instead I want a user to create a hash and send it to us. How to create the hash of the payment signing key?</p>

<cardano-cli>
How to create signer hash for cardano-cli transaction build --required-signer-hash?
# How to create signer hash for cardano-cli transaction build --required-signer-hash?

(Asked by: username_0 on 2022-01-27)

I need to use `--required-signer-hash` instead of `--required-signer` because I don't want to have access to the payment signing key, instead I want a user to create a hash and send it to us. How to create the hash of the payment signing key?

**Tags:** cardano-cli

---

## 1 answers

### Answer by username_1 on 2022-01-27. Score: 3 | Accepted answer

The following command gives the hash of a payment address
cardano-cli address key-hash --payment-verification-key-file payment.vkey

Remember to change the file name from payment.vkey


---

