@@ -24,14 +24,30 @@ Aligned works with EigenLayer to leverage ethereum consensus mechanism for ZK pr
2424
2525## How to use the testnet
2626
27- ### Requirements
27+ Download and install Aligned to send proofs in the testnet:
2828
29- - [ Rust] ( https://www.rust-lang.org/tools/install )
29+ ``` bash
30+ curl -L https://raw.githubusercontent.com/yetanotherco/aligned_layer/main/batcher/aligned/install_aligned.sh | bash
31+ ```
32+
33+ If you are experiencing issues, upgrade by running the same command.
34+
35+ ### Try it!
36+
37+ Download an example SP1 proof file with it's ELF file using:
38+
39+ ``` bash
40+ curl -L https://raw.githubusercontent.com/yetanotherco/aligned_layer/main/batcher/aligned/get_proof_test_files.sh | bash
41+ ```
3042
31- To install the batcher client to send proofs in the testnet, run :
43+ Send the proof with :
3244
3345``` bash
34- make install_aligned
46+ aligned \
47+ --proving_system SP1 \
48+ --proof ~ /.aligned/test_files/sp1_fibonacci.proof \
49+ --vm_program ~ /.aligned/test_files/sp1_fibonacci-elf \
50+ --conn wss://batcher.alignedlayer.com
3551```
3652
3753### Run
@@ -51,8 +67,6 @@ aligned \
5167
5268** Example**
5369
54-
55-
5670``` bash
5771aligned \
5872--proving_system SP1 \
@@ -389,7 +403,7 @@ To run the batcher, you will need to set environment variables in a `.env` file
389403The necessary environment variables are:
390404
391405| Variable Name | Description |
392- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
406+ | --------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
393407| AWS_SECRET_ACCESS_KEY | Secret key to authenticate and authorize API requests to the AWS S3 Bucket. |
394408| AWS_REGION | Geographical region where the AWS S3 Bucket will be accessed. |
395409| AWS_ACCESS_KEY_ID | Access key used in combination with the AWS_SECRET_ACCESS_KEY to authenticate and authorize API requests to the AWS S3 Bucket. |
@@ -615,7 +629,7 @@ To deploy the contracts to Testnet/Mainnet, you will need to set environment var
615629The necessary environment variables are:
616630
617631| Variable Name | Description |
618- | --------------------------------- | ----------------------------------------------------------------------- |
632+ | ------------------------------- | --------------------------------------------------------------------- |
619633| ` RPC_URL ` | The RPC URL of the network you want to deploy to. |
620634| ` PRIVATE_KEY ` | The private key of the account you want to deploy the contracts with. |
621635| ` EXISTING_DEPLOYMENT_INFO_PATH ` | The path to the file containing the deployment info about EigenLayer. |
@@ -713,11 +727,11 @@ You can access to a tasks information by visiting `localhost:4000/batches/:merkl
713727
714728Create a ` .env ` file in the ` /explorer ` directory of the project. The ` .env ` file needs to contain the following variables:
715729
716- | Variable | Description |
717- | -------- | ----------- |
718- | ` RPC_URL ` | The RPC URL of the network you want to connect to. |
730+ | Variable | Description |
731+ | ------------- | ------------------------------------------------------------------------------------ ----------- |
732+ | ` RPC_URL ` | The RPC URL of the network you want to connect to. |
719733| ` ENVIRONMENT ` | The environment you want to run the application in. It can be ` devnet ` , ` holesky ` or ` mainnet ` . |
720- | ` PHX_HOST ` | The host URL where the Phoenix server will be running. |
734+ | ` PHX_HOST ` | The host URL where the Phoenix server will be running. |
721735
722736``` make run_explorer ```
723737
0 commit comments