Skip to content

Commit

Permalink
docs(altda-devnet): update docs to run the altda-devnet
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed Sep 29, 2024
1 parent d38977c commit f86261c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,35 @@

## devnet with eigenda alt-da

Run `make altda-devnet-up` to start the devnet with the eigenda proxy as alt-da, which sends batches to `disperser-holesky.eigenda.xyz` (I think this is preprod?).
First you will need to build the dev docker image for eigenda-proxy, until we make a new release.

```bash
git clone https://github.com/Layr-Labs/eigenda-proxy.git
make docker-build
```

Now create a `.env` file in the root of this repository with the following content (you will need to add an ecdsa private key that is authorized on the eigenda disperser, as well as an ethereum rpc endpoint):

```bash
MEMSTORE_ENABLED=false
EIGENDA_PROXY_EIGENDA_SERVICE_MANAGER_ADDR=0x54A03db2784E3D0aCC08344D05385d0b62d4F432 #holesky preprod
EIGENDA_PROXY_EIGENDA_SIGNER_PRIVATE_KEY_HEX=
EIGENDA_PROXY_EIGENDA_ETH_RPC=
```

Finally run `make altda-devnet-up` to start the devnet with the eigenda proxy as alt-da server, which sends batches to `disperser-preprod-holesky.eigenda.xyz:443`.

This will also start a grafana instance, which you can access at `http://localhost:3000` with user:pw `admin:admin`.

![](./ops-bedrock/monitoring/grafana/grafana-dashboard-overview-high-throughput.png)

To submit transactions, you can make use of our https://github.com/Layr-Labs/evm-tx-load-gen (you just need to replace the `TRAFFIC_GENERATOR_REQUEST_INTERVAL` and `TRAFFIC_GENERATOR_PAD_SIZE` variables inside the `.env` file to generate the needed throughput).

```bash
git clone https://github.com/Layr-Labs/evm-tx-load-gen.git
./run.sh
```

## What is Optimism?

[Optimism](https://www.optimism.io/) is a project dedicated to scaling Ethereum's technology and expanding its ability to coordinate people from across the world to build effective decentralized economies and governance systems. The [Optimism Collective](https://www.optimism.io/vision) builds open-source software that powers scalable blockchains and aims to address key governance and economic challenges in the wider Ethereum ecosystem. Optimism operates on the principle of **impact=profit**, the idea that individuals who positively impact the Collective should be proportionally rewarded with profit. **Change the incentives and you change the world.**
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f86261c

Please sign in to comment.