Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions suave/devenv/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
data
12 changes: 11 additions & 1 deletion suave/devenv/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
## Run the devnet:
## Run the devnet

`docker-compose up --build --force-recreate`

## Run the devnet with a forked ETH provider

```sh
export RPC_URL=https://eth-goerli.g.alchemy.com/v2/YOUR_KEY_HERE
export ANVIL_FLAGS="-f $RPC_URL --chain-id 5"
docker-compose up -d
```

## Genesis info

Execution node's address: 0xb5feafbdd752ad52afb7e1bd2e40432a485bbb7f (private key: 6c45335a22461ccdb978b78ab61b238bad2fae4544fb55c14eb096c875ccfc52)
Pre-funded private key: 0x91ab9a7e53c220e6210460b65a7a3bb2ca181412a8a7b43ff336b3df1737ce12, Address: 0xBE69d72ca5f88aCba033a063dF5DBe43a4148De0
9 changes: 3 additions & 6 deletions suave/devenv/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
- --keystore=/keystore/keystore
- --unlock=0xB5fEAfbDD752ad52Afb7e1bD2E40432A485bBB7F
- --password=/keystore/password.txt
- --suave.eth.remote_endpoint=http://172.17.0.1:8555
depends_on:
- suave-enabled-chain
volumes:
Expand All @@ -26,11 +27,7 @@ services:
- 8545:8545
- 8546:8546
suave-enabled-chain:
image: flashbots/suave-execution-geth:latest
command:
- --dev
- --dev.gaslimit=30000000
- --http
- --ws
build: https://github.com/zeroXbrock/foundry.git#suavex_endpoints
entrypoint: /bin/sh -c 'anvil --host=0.0.0.0 ${ANVIL_FLAGS}'
ports:
- 8555:8545