Quickstart
In this tutorial you will submit an SP1 proof to Aligned's Proof Aggregation Service and check that it was verified on Ethereum.
Quickstart
We will use a previously generated SP1 proof that ships with the repository, submit it for aggregation, and then read the result from Ethereum.
1. Install the Aggregation Mode CLI
git clone https://github.com/yetanotherco/aligned_layer.git
cd aligned_layer
make agg_mode_install_cliCheck the installation:
agg_mode_cli --help2. Create a keystore
If you do not already have one, create a local keystore with cast and import it:
cast wallet new-mnemonic
cast wallet import --interactive <path_to_keystore.json>Fund the account with Hoodi ETH from this faucet. You need funds both for gas and for your proof submission quota.
3. Fund your submission quota
Deposit into the Aggregation Mode payment service:
Each call deposits a fixed 0.0035 ether.
4. Submit the proof
From the root of the repository:
On success the CLI prints a task ID:
5. Wait for aggregation
Your proof is batched with others and aggregated into a single recursive proof, which is then verified on Ethereum. This happens within the aggregation window — 24 hours by default — so this step is not instant.
You can follow aggregated proofs as they land in the Hoodi explorer.
6. Check that your proof was verified
This reads the result of the aggregated proof verification from Ethereum and checks your proof's inclusion in it.
Next steps
Generating proofs for Aligned — produce these files from your own SP1 program
Integration example — a toy L2 built on the Proof Aggregation Layer
Aggregation Mode CLI and SDK references
Architecture overview — how aggregation works under the hood
Last updated
Was this helpful?