Skip to content

Add bridge-to-l2 script and Docker image#22

Closed
RonTuretzky wants to merge 3 commits intoOpacityLabs:devfrom
RonTuretzky:RonTuretzky/bridge-script
Closed

Add bridge-to-l2 script and Docker image#22
RonTuretzky wants to merge 3 commits intoOpacityLabs:devfrom
RonTuretzky:RonTuretzky/bridge-script

Conversation

@RonTuretzky
Copy link

Summary

  • Add scripts/bridge-to-l2.sh - standalone script to bridge EigenLayer operator state from L1 to L2
  • Add scripts/Dockerfile - Docker image with all dependencies (foundry, jq, curl)
  • Add .github/workflows/bridge-docker.yml - CI/CD to build and push Docker image

Usage

# Local
export PRIVATE_KEY=0x...
export L1_RPC_URL=https://...
export L2_RPC_URL=https://...
export REGISTRY_COORDINATOR_ADDRESS=0x...
./scripts/bridge-to-l2.sh

# Docker
docker run --rm \
  -e PRIVATE_KEY=0x... \
  -e L1_RPC_URL=https://... \
  -e L2_RPC_URL=https://... \
  -e REGISTRY_COORDINATOR_ADDRESS=0x... \
  ghcr.io/opacitylabs/target-contracts/bridge:latest

Test plan

  • Script tested locally on Sepolia → Gnosis
  • Docker image built and tested locally

🤖 Generated with Claude Code

- Update bls-testnet.example.env to use Sepolia EigenLayer addresses
- Add contracts/broadcast/ and contracts/artifacts/ to .gitignore
- Remove tracked deployment artifacts from version control
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments