1212 - [ Local Devnet Setup] ( #local-devnet-setup )
1313 - [ Deploying Aligned Contracts to Holesky or Testnet] ( #deploying-aligned-contracts-to-holesky-or-testnet )
1414 - [ Metrics] ( #metrics )
15- - [ Notes on project creation / devnet deployment] ( #notes-on-project-creation--devnet-deployment )
1615 - [ Explorer] ( #explorer )
16+ - [ Notes on project creation / devnet deployment] ( #notes-on-project-creation--devnet-deployment )
1717 - [ Tests] ( #tests )
1818 - [ FAQ] ( #faq )
1919
@@ -405,7 +405,6 @@ To start the operator with a custom configuration, run:
405405make operator_start CONFIG_FILE=< path_to_config_file>
406406```
407407
408-
409408### Batcher
410409
411410#### Config
@@ -491,7 +490,6 @@ cd batcher/client/ && cargo run --release -- \
491490--proof_generator_addr < proof_generator_addr>
492491```
493492
494-
495493### Task Sender
496494
497495#### Config
@@ -600,7 +598,7 @@ go run task_sender/cmd/main.go loop-tasks
600598
601599## Deploying Aligned Contracts to Holesky or Testnet
602600
603- ### Eigenlayer Contracts: Anvil
601+ ### Eigenlayer Contracts: Anvil
604602
605603If EigenLayer contracts change, the anvil state needs to be updated with:
606604
@@ -621,7 +619,6 @@ These contracts are not deployed by Aligned. Current EigenLayer contracts:
621619- [ Holesky Contracts] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/testnet-holesky/script/configs/holesky/Holesky_current_deployment.config.json )
622620- [ Mainnet Contracts] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/mainnet/script/configs/mainnet/Mainnet_current_deployment.config.json )
623621
624-
625622### Aligned Contracts: Anvil
626623
627624When changing Aligned contracts, the anvil state needs to be updated with:
@@ -680,6 +677,7 @@ You can find an example config file in `contracts/script/deploy/config/holesky/a
680677### Bindings
681678
682679Also make sure to re-generate the Go smart contract bindings:
680+
683681``` bash
684682make bindings
685683```
@@ -716,36 +714,9 @@ To install Prometheus, you can follow the instructions on the [official website]
716714To install Grafana, you can follow the instructions on the [ official website] ( https://grafana.com/docs/grafana/latest/setup-grafana/installation/ ) .
717715
718716
719- ## Notes on project creation / devnet deployment
720-
721- Eigenlayer middleware was installed as a submodule with:
722-
723- ``` sh
724- mkdir contracts
725- cd contacts
726- forge init . --no-commit
727- forge install Layr-Labs/eigenlayer-middleware@mainnet
728- ```
729-
730- Then to solve the issue < https://github.com/Layr-Labs/eigenlayer-middleware/issues/229 > , we changed it to:
731-
732- ``` forge install yetanotherco/eigenlayer-middleware@yac-mainnet --no-commit ```
733-
734- As soon as it gets fixed in mainnet we can revert it.
735-
736- Base version of middleware used is ``` 7229f2b ``` .
737-
738- The script to initialize the devnet can be found on ``` contracts/scripts/anvil ``` .
717+ ## Explorer
739718
740- The addresses of the relevant contracts after running the anvil script is dumped on ``` contracts/script/output/devnet ``` .
741-
742- The state is backuped on ``` contracts/scripts/anvil/state ``` .
743-
744- Eigenlayer contract deployment is almost the same as the EigenLayer contract deployment on mainnet. Changes are described on the file.
745-
746-
747- ## Explorer
748- ### Requirements
719+ ### Minimum Requirements
749720
750721- [ Erlang 26] ( https://github.com/asdf-vm/asdf-erlang )
751722- [ Elixir 1.16.2] ( https://elixir-ko.github.io/install.html ) , compiled with OTP 26
@@ -767,10 +738,10 @@ Create a `.env` file in the `/explorer` directory of the project. The `.env` fil
767738| -------- | ----------- |
768739| ` RPC_URL ` | The RPC URL of the network you want to connect to. |
769740| ` ENVIRONMENT ` | The environment you want to run the application in. It can be ` devnet ` , ` holesky ` or ` mainnet ` . |
741+ | ` PHX_HOST ` | The host URL where the Phoenix server will be running. |
770742
771743``` make run_explorer ```
772744
773-
774745### Send example data
775746
776747If you want to have some data to see on it, you can start our infinite task sender, which will constantly send new proofs to the batcher.
@@ -779,6 +750,35 @@ If you want to have some data to see on it, you can start our infinite task send
779750make batcher_send_burst_groth16
780751```
781752
753+
754+ ## Notes on project creation / devnet deployment
755+
756+ Eigenlayer middleware was installed as a submodule with:
757+
758+ ``` sh
759+ mkdir contracts
760+ cd contacts
761+ forge init . --no-commit
762+ forge install Layr-Labs/eigenlayer-middleware@mainnet
763+ ```
764+
765+ Then to solve the issue < https://github.com/Layr-Labs/eigenlayer-middleware/issues/229 > , we changed it to:
766+
767+ ``` forge install yetanotherco/eigenlayer-middleware@yac-mainnet --no-commit ```
768+
769+ As soon as it gets fixed in mainnet we can revert it.
770+
771+ Base version of middleware used is ``` 7229f2b ``` .
772+
773+ The script to initialize the devnet can be found on ``` contracts/scripts/anvil ``` .
774+
775+ The addresses of the relevant contracts after running the anvil script is dumped on ``` contracts/script/output/devnet ``` .
776+
777+ The state is backuped on ``` contracts/scripts/anvil/state ``` .
778+
779+ Eigenlayer contract deployment is almost the same as the EigenLayer contract deployment on mainnet. Changes are described on the file.
780+
781+
782782## Tests
783783
784784To run the go tests
@@ -787,11 +787,12 @@ To run the go tests
787787make test
788788```
789789
790- # Verify Proofs
791790
792- ## SP1
791+ ## Verify Proofs
793792
794- ### Dependencies
793+ ### SP1
794+
795+ #### Dependencies
795796This guide assumes that:
796797- sp1 prover installed (instructions [ here] ( https://succinctlabs.github.io/sp1/getting-started/install.html ) )
797798- sp1 project to generate the proofs (instructions [ here] ( https://succinctlabs.github.io/sp1/generating-proofs/setup.html ) )
@@ -800,7 +801,7 @@ This guide assumes that:
800801 git clone https://github.com/yetanotherco/aligned_layer.git
801802 ```
802803
803- # ## How to generate a proof
804+ # ### How to generate a proof
804805
805806> AlignedLayer only verifies SP1 in compressed version.
806807> You can check you are using compressed by opening script/src/main.rs
@@ -813,7 +814,7 @@ Then, run the following command to generate a proof:
813814cargo run --release
814815` ` `
815816
816- # ## How to get the proof verified by AlignedLayer
817+ # ### How to get the proof verified by AlignedLayer
817818
818819After generating the proof, you will have to find two different files:
819820- proof file: usually found under ` script` directory, with the name ` proof.json` or similar
@@ -831,6 +832,7 @@ cargo run --release -- \
831832--proof_generator_addr < proof_generator_addr>
832833` ` `
833834
835+
834836# # FAQ
835837
836838# ## What is the objective of Aligned?
0 commit comments