Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit 44dd267

Browse files
committed
feat: example devnet config with default tag
1 parent 8428128 commit 44dd267

4 files changed

Lines changed: 21 additions & 36 deletions

File tree

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ demo:
1515
./scripts/start-demo.sh
1616

1717
# spin up the bolt devnet
18-
up:
18+
up env='latest':
1919
chmod +x ./scripts/start-devnet.sh
20-
./scripts/start-devnet.sh
20+
./scripts/start-devnet.sh {{env}}
2121

2222
# turn down the bolt devnet and remove the enclave
2323
down:

scripts/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
kurtosis_config.yaml
Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,7 @@ additional_services:
99
- tx_spammer
1010
- blockscout
1111
- dora
12-
# - assertoor
13-
# - blob_spammer
14-
# - custom_flood
15-
# - goomy_blob
16-
# - el_forkmon
17-
# - beacon_metrics_gazer
18-
# - full_beaconchain_explorer
1912
- prometheus_grafana
20-
# - blobscan
2113

2214
mev_type: full
2315

@@ -26,12 +18,12 @@ mev_params:
2618
# Bolt-specific images:
2719
# Adding the `bolt_boost_image` will start the devnet with Bolt-Boost
2820
# instead of MEV-Boost by Flashbots
29-
bolt_boost_image: ghcr.io/chainbound/bolt-boost:0.1.0
30-
bolt_sidecar_image: ghcr.io/chainbound/bolt-sidecar:0.1.0
31-
helix_relay_image: ghcr.io/chainbound/helix:v0.3.0-alpha.rc2
32-
mev_relay_image: ghcr.io/chainbound/bolt-relay:0.1.0
33-
mev_builder_image: ghcr.io/chainbound/bolt-builder:0.1.0
34-
mev_boost_image: ghcr.io/chainbound/bolt-mev-boost:0.1.0
21+
bolt_boost_image: ghcr.io/chainbound/bolt-boost:$TAG
22+
bolt_sidecar_image: ghcr.io/chainbound/bolt-sidecar:$TAG
23+
helix_relay_image: ghcr.io/chainbound/helix:$TAG
24+
mev_relay_image: ghcr.io/chainbound/bolt-relay:$TAG
25+
mev_builder_image: ghcr.io/chainbound/bolt-builder:$TAG
26+
mev_boost_image: ghcr.io/chainbound/bolt-mev-boost:$TAG
3527

3628
mev_boost_args: []
3729
mev_relay_api_extra_args: []

scripts/start-devnet.sh

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
11
#!/bin/bash
22

3-
echo "Starting the devnet..."
3+
ENV=$1
44

5-
# spin up the kurtosis devnet
6-
kurtosis run --enclave bolt-devnet github.com/chainbound/ethereum-package@bolt --args-file ./scripts/kurtosis_config.yaml
7-
echo "Devnet online! Waiting for the RPC to be available..."
8-
sleep 5
5+
if [ -z "$ENV" ]; then
6+
echo "Usage: start-devnet.sh <ENV>"
7+
exit 1
8+
fi
9+
10+
echo "Starting the devnet on $ENV..."
911

10-
RPC=$(kurtosis port print bolt-devnet el-1-geth-lighthouse rpc)
11-
PK="bcdf20249abf0ed6d944c0288fad489e33f66b3960d9e6229c1cd214ed3bbe31"
12-
echo "RPC endpoint: $RPC"
12+
# the environment needs to match the image tags in the kurtosis config file
13+
sed "s/\$TAG/$ENV/g" ./scripts/kurtosis_config.template.yaml > ./scripts/kurtosis_config.yaml
1314

14-
# wait for the rpc to be available
15-
while ! curl -s -X POST --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' "$RPC" >/dev/null; do
16-
sleep 1
17-
done
15+
# spin up the kurtosis devnet
16+
kurtosis run --enclave bolt-devnet github.com/chainbound/ethereum-package@bolt --args-file ./scripts/kurtosis_config.yaml
1817

19-
# TODO: re-add after new registry, challenger and staking contracts are available
20-
# deploy the contracts
21-
# (
22-
# cd ./bolt-contracts || exit
23-
# forge build # make sure the contracts are compiled before deploying
24-
# forge script script/DeployOnDevnet.s.sol --broadcast --rpc-url "$RPC" --private-key "$PK"
25-
# )
26-
# echo "Contracts deployed!"
18+
echo "Devnet online!"

0 commit comments

Comments
 (0)