> For the complete documentation index, see [llms.txt](https://unirep.gitbook.io/unirep/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unirep.gitbook.io/unirep/getting-started/start-with-cli-commands/7.-attesters-users-verify-epoch-key-proof.md).

# 7. Attesters/Users verify epoch key proof

```bash
npx ts-node cli/index.ts verifyEpochKeyProof \
    -x $UNIREP_CONTRACT_ADDRESS  \
    -pf $EPOCH_KEY_PROOF  \
    -p $EPOCH_PUBLIC_SIGNALS
```

{% hint style="info" %}
**NOTE:**&#x20;

`-p` is the public signals of the epoch key proof

`-pf` is the epoch key proof

See: [cli/verifyEpochKeyProof](/unirep/package/cli/epoch-key-and-proof.md#verifyepochkeyproof) for more `verifyEpochKeyProof` options.
{% endhint %}

If the epoch key proof is successfully verified, it prints

```bash
Verifying epoch key 1421637519 with GSTRoot 14270915092725970451268204538779500502278807167690661595734149116833065872952 in epoch 1
Verify epoch key proof with epoch key 1421637519 succeed
```
