@@ -31,17 +31,22 @@ The <b>Agglayer</b> (<i>Aggregation layer</i>) provides a common language for se
3131
3232## Table of Contents
3333
34+ - [ Table of Contents] ( #table-of-contents )
3435- [ Overview] ( #overview )
3536- [ Repository Structure] ( #repository-structure )
3637- [ Prerequisites] ( #prerequisites )
3738 - [ Succinct Prover Network] ( #succinct-prover-network )
3839 - [ Software Requirements] ( #software-requirements )
39- - [ Hardware Requirements ] ( #hardware-recommendations )
40+ - [ Hardware Recommendations ] ( #hardware-recommendations )
4041- [ Installation] ( #installation )
42+ - [ Running the Test Suite] ( #running-the-test-suite )
4143- [ Modifying and building the Aggchain Proof] ( #modifying-and-building-the-aggchain-proof )
44+ - [ Building Aggchain Proof one-off] ( #building-aggchain-proof-one-off )
45+ - [ Turning on automatic proof rebuild] ( #turning-on-automatic-proof-rebuild )
46+ - [ Check the vkey hash from the ELF binary] ( #check-the-vkey-hash-from-the-elf-binary )
47+ - [ Proof versioning policy] ( #proof-versioning-policy )
4248- [ Development] ( #development )
4349- [ Support] ( #support )
44- - [ Resources] ( #resources )
4550- [ License] ( #license )
4651
4752## Overview
@@ -142,6 +147,28 @@ It is mostly useful for debugging, the `update` is more suitable for regular dev
142147
143148To get automatic rebuilds by default, set the variable in the shell init script.
144149
150+ ### Check the vkey hash from the ELF binary
151+
152+ This command helps to retrieve the vkey hash from a given ELF binary:
153+
154+ ```
155+ cargo prove vkey --elf <path-to-elf-file>
156+ ```
157+
158+ Output example:
159+
160+ ```
161+ Verification Key Hash:
162+ 0x0077f45ec2258cc98fa879d13a2773190bffb9cafb9f428ce3c5718dc768f03e
163+ ```
164+
165+ Which ELFs?
166+
167+ - ` aggchain proof ` ELF binary
168+ - lives in this present ` provers ` repository
169+ - ` aggregation ` and ` range ` ELF binaries for the op-succinct proofs
170+ - live in the ` op-succinct ` dependency repository
171+
145172### Proof versioning policy
146173
147174The proof binary to use is uniquely identified by a vkey selector on the L1.
@@ -156,8 +183,6 @@ Contributions are very welcomed, the guidelines are currently not available (WIP
156183
157184Feel free to [ open an issue] ( https://github.com/agglayer/agglayer/issues/new ) if you have any feature request or bug report.<br />
158185
159- ## Resources
160-
161186## License
162187Copyright (c) 2024 PT Services DMCC
163188
@@ -166,6 +191,6 @@ Licensed under either of
166191* Apache License, Version 2.0, ([ LICENSE-APACHE] ( LICENSE-APACHE ) or http://www.apache.org/licenses/LICENSE-2.0 )
167192* MIT license ([ LICENSE-MIT] ( LICENSE-MIT ) or http://opensource.org/licenses/MIT )
168193
169- at your option.
194+ at your option.
170195
171196The SPDX license identifier for this project is ` MIT OR Apache-2.0 ` .
0 commit comments