You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-15Lines changed: 21 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,9 @@
16
16
17
17
## The Project
18
18
19
-
Aligned works with EigenLayer to leverage Ethereum consensus mechanism for ZK proof verification. Working outside the EVM, this allows for cheap verification of any proving system. This enables the usage of cutting edge algorithms, that may use new techniques to prove even faster. Even more, proving systems that reduce the proving overhead and add verifier overhead, now become economically feasible to verify thanks to Aligned.
19
+
Aligned is a decentralized network of nodes that verifies Zero-Knowledge and Validity proofs and post the results in Ethereum.
20
+
21
+
These proofs can be generated and used for a tenth of the price and very low latency, allowing novel types of applications that weren't possible before in Ethereum.
20
22
21
23
## How to use the testnet
22
24
@@ -94,17 +96,23 @@ make uninstall_aligned
94
96
make install_aligned_compiling
95
97
```
96
98
97
-
### Explanation of how the results of the proof verification in Ethereum
99
+
### Reading the results of proof verification in Ethereum
100
+
101
+
102
+
#### Using CURL and an Ethereum RPC
103
+
In step 6 of the previous section, we used the `aligned verify-proof-onchain` to check that our proof was verified in Aligned.
104
+
105
+
Internally, this is making a call to our Aligned contract, verifying commitments are right, and that the proof is included in the batch.
98
106
99
-
This is the same as running the following curl, with the proper CALL_DATA.
107
+
That commandis doing the same as the following `curl` to an Ethereum node.
If your verification data is in another path, just change the `--aligned-verification-data` parameter.
132
143
133
-
If you want to verify your proof in your own contract, use a static call to the Aligned contract. You can use the following [Caller Contract](examples/verify/src/VerifyBatchInclusionCaller.sol) as an example. The code will look like this:
144
+
#### Using a caller contract
145
+
146
+
To verify a proof in your own contract, use a static call to the Aligned contract. You can use the following [Caller Contract](examples/verify/src/VerifyBatchInclusionCaller.sol) as an example. The code will look like this:
0 commit comments