Skip to content

Add "bridge-to-l2.sh" script#1

Merged
bagelface merged 16 commits into
BreadchainCoop:devfrom
RonTuretzky:RonTuretzky/bridge-script
Mar 4, 2026
Merged

Add "bridge-to-l2.sh" script#1
bagelface merged 16 commits into
BreadchainCoop:devfrom
RonTuretzky:RonTuretzky/bridge-script

Conversation

@bagelface
Copy link
Copy Markdown

Adds script

#######################################################################
# Bridge EigenLayer Operator State from L1 to L2
#
# This script deploys the bridge contracts and bridges operator state
# from an L1 registry coordinator to an L2 mimic contract.
#
# Required Environment Variables:
#   PRIVATE_KEY              - Private key for deployment and transactions
#   L1_RPC_URL               - RPC URL for L1 (e.g., Sepolia)
#   L2_RPC_URL               - RPC URL for L2 (e.g., Gnosis)
#   REGISTRY_COORDINATOR_ADDRESS - L1 registry coordinator to bridge from
#
# Optional Environment Variables:
#   SLOT_NUMBER              - Slot number for mock proof (default: 12345)
#   SKIP_DEPLOY              - Set to "true" to skip deployment and use existing contracts
#   L1_DEPLOY_FILE           - Path to existing L1 deployment file (required if SKIP_DEPLOY=true)
#   L2_DEPLOY_FILE           - Path to existing L2 deployment file (required if SKIP_DEPLOY=true)
#
#######################################################################

@bagelface bagelface merged commit 8fcd4ad into BreadchainCoop:dev Mar 4, 2026
1 check failed
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.

3 participants