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
+49-50Lines changed: 49 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,59 +16,30 @@
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
20
21
-
## Operator Guide
22
-
23
-
If you want to run an operator, check our [Operator Guide](./README_OPERATOR.md)
24
-
25
-
## Aligned Infrastructure Guide
26
-
27
-
If you are developing in Aligned, or want to run your own devnet, check our [Infrastructure Guide](./README_INFRASTRUCTURE.md)
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.
28
22
29
23
## How to use the testnet
30
24
31
-
### Contract Information
32
-
33
-
Testnet contract is deployed on Holesky on the address:
34
-
35
-
```0x58F280BeBE9B34c9939C3C39e0890C81f163B623```
36
-
37
-
### How to use the testnet
38
-
39
-
Download and install Aligned to send proofs in the testnet:
25
+
1. Download and install Aligned to send proofs in the testnet:
Then run the ```source``` command that should appear in the shell
46
-
47
-
If you are experiencing issues, upgrade by running the same command.
48
-
49
-
The downloaded binaries require:
50
-
51
-
- MacOS Arm64 (M1 or higher)
52
-
- Linux x86 with GLIBC_2.32 or superior (For example, Ubuntu 22.04 or higher)
53
-
54
-
If you don't meet these requirements, clone the repository, install rust, and then run:
55
-
56
-
```bash
57
-
make uninstall_aligned
58
-
make install_aligned_compiling
59
-
```
60
-
61
-
### Try it!
31
+
2. Then run the ```source``` command that should appear in the shell
62
32
63
-
We are going to download a proof previously generated, send it to Aligned, and retrieve the results from Ethereum Holesky testnet. Aligned is using EigenLayer to do a fast and cheap verification of more than one thousand proofs per second.
64
33
65
-
Download an example SP1 proof file with it's ELF file using:
34
+
3.Download an example SP1 proof file with it's ELF file using:
We are downloading a proof previously generated, sending it to Aligned, and retrieving the results from Ethereum Holesky testnet. Aligned is using EigenLayer to do a fast and cheap verification of more than one thousand proofs per second.
41
+
42
+
4. Let's send the proof to be verified in Aligned:
72
43
73
44
```bash
74
45
rm -rf ~/.aligned/aligned_verification_data/ &&
@@ -80,7 +51,7 @@ aligned submit \
80
51
--conn wss://batcher.alignedlayer.com
81
52
```
82
53
83
-
You should get a response like this:
54
+
5.You should get a response like this:
84
55
85
56
```bash
86
57
[2024-06-17T22:06:03Z INFO aligned] Proof submitted to aligned. See the batch in the explorer:
@@ -90,7 +61,9 @@ You should get a response like this:
If your verification data is in another path, just change the `--aligned-verification-data` parameter.
143
+
144
+
#### Using a caller contract
147
145
148
-
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:
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