feat: add Otterscan block explorer to dev environment (#109)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-02-13 14:55:07 +00:00
parent 61b7ee435f
commit 37b1002dae
5 changed files with 38 additions and 5 deletions

View file

@ -191,8 +191,8 @@ start_stack() {
wait_for_healthy "$(container_name ponder)" "$PONDER_TIMEOUT" || exit 1
# Phase 4: Start frontend services (depend on ponder healthy)
echo " Starting webapp, landing, txn-bot..."
${COMPOSE_CMD} up -d webapp landing txn-bot >/dev/null 2>&1
echo " Starting webapp, landing, txn-bot, otterscan..."
${COMPOSE_CMD} up -d webapp landing txn-bot otterscan >/dev/null 2>&1
wait_for_healthy "$(container_name webapp)" "$WEBAPP_TIMEOUT" || exit 1
@ -219,6 +219,7 @@ start_stack() {
echo ""
echo "[ok] Stack started in ${total_time}s"
echo " Web App: http://localhost:8081/app/"
echo " Explorer: http://localhost:5100"
echo " RPC Proxy: http://localhost:8081/api/rpc"
echo " GraphQL: http://localhost:8081/api/graphql"
}
@ -241,7 +242,7 @@ stop_stack() {
check_health() {
echo "Checking health..."
local services=(anvil postgres ponder webapp landing txn-bot caddy)
local services=(anvil postgres ponder webapp landing txn-bot otterscan caddy)
for service in "${services[@]}"; do
local container
container=$(${RUNTIME_CMD} ps --all \