init blast

This commit is contained in:
Sebastian
2024-03-03 06:40:15 +01:00
parent ee28a9dcd7
commit 8db61343cf
5 changed files with 45123 additions and 0 deletions

29685
blast-io/mainnet/genesis.json Executable file

File diff suppressed because one or more lines are too long

31
blast-io/mainnet/rollup.json Executable file
View File

@@ -0,0 +1,31 @@
{
"genesis": {
"l1": {
"hash": "0xfcfb8d586bdae763f1189988789211c69eb893a895e7ba48be3ca6289f0941b7",
"number": 19300102
},
"l2": {
"hash": "0xb689b35ef29d0bec5816938e0e52683c7257d2e325420ea69b739a2be4754b89",
"number": 0
},
"l2_time": 1708809815,
"system_config": {
"batcherAddr": "0x415c8893d514f9bc5211d36eeda4183226b84aa7",
"overhead": "0x00000000000000000000000000000000000000000000000000000000000000bc",
"scalar": "0x00000000000000000000000000000000000000000000000000000000000a6fe0",
"gasLimit": 30000000
}
},
"block_time": 2,
"max_sequencer_drift": 600,
"seq_window_size": 3600,
"channel_timeout": 300,
"l1_chain_id": 1,
"l2_chain_id": 81457,
"regolith_time": 0,
"canyon_time": 0,
"batch_inbox_address": "0xff00000000000000000000000000000000081457",
"deposit_contract_address": "0x0ec68c5b10f21effb74f2a5c61dfe6b08c0db6cb",
"l1_system_config_address": "0x5531dcff39ec1ec727c4c5d2fc49835368f805a9",
"protocol_versions_address": "0x0000000000000000000000000000000000000000"
}

15323
blast-io/sepolia/genesis.json Executable file

File diff suppressed because one or more lines are too long

31
blast-io/sepolia/rollup.json Executable file
View File

@@ -0,0 +1,31 @@
{
"genesis": {
"l1": {
"hash": "0x17728cf4d8e0b4f292d2390a869fd7c632d39e72efb00ca3462b4387c6aa2437",
"number": 5044255
},
"l2": {
"hash": "0x26a1c0faad7b041f34569a1bb383f00ab74b335883a44bed53e9f41ced5fd906",
"number": 0
},
"l2_time": 1704686688,
"system_config": {
"batcherAddr": "0xba26fee2fa917443e05e65de8d4350bcd2f59222",
"overhead": "0x00000000000000000000000000000000000000000000000000000000000000bc",
"scalar": "0x00000000000000000000000000000000000000000000000000000000000a6fe0",
"gasLimit": 30000000
}
},
"block_time": 2,
"max_sequencer_drift": 600,
"seq_window_size": 3600,
"channel_timeout": 300,
"l1_chain_id": 11155111,
"l2_chain_id": 168587773,
"regolith_time": 0,
"canyon_time": 0,
"batch_inbox_address": "0x1c3b85a2108784eab6a4bf56cdd6f722e415b331",
"deposit_contract_address": "0x2757e4430e694f27b73ec9c02257cab3a498c8c5",
"l1_system_config_address": "0x329faf078c364a316e08bf6a17b7eee6ae75a613",
"protocol_versions_address": "0x0000000000000000000000000000000000000000"
}

53
op-blast-mainnet.yml Normal file
View File

@@ -0,0 +1,53 @@
version: '3.1'
services:
op-blast-mainnet:
image: blastio/blast-geth:${NETWORK}
volumes:
- blast-mainnet:/data
- ./blast-io:/config:rw
- .jwtsecret:/jwtsecret
environment:
- "GETH_ROLLUP_SEQUENCERHTTP=https://sequencer.blast.io"
expose:
- 9545
entrypoint: /bin/sh
command: -c "[ ! -d /data/geth ] && /usr/local/bin/geth init --datadir=/data /config/mainnet}/genesis.json || exit 0 && geth --datadir=/data --http --http.corsdomain=* --http.vhosts=* --http.addr=0.0.0.0 --http.port=9545 --http.api=web3,debug,eth,txpool,net,engine --ws --ws.addr=0.0.0.0 --ws.port=9545 --ws.origins=* --ws.api=debug,eth,txpool,net,engine --authrpc.addr=0.0.0.0 --authrpc.port=8551 --authrpc.vhosts=* --authrpc.jwtsecret=/jwtsecret --syncmode=full --gcmode=prune --nodiscover --maxpeers=0 --rollup.disabletxpoolgossip=true --state.scheme=path --db.engine=pebble"
networks:
- chains
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.blast-stripprefix.stripprefix.prefixes=/blast-mainnet"
- "traefik.http.services.blast.loadbalancer.server.port=9545"
- "traefik.http.routers.blast.entrypoints=websecure"
- "traefik.http.routers.blast.tls.certresolver=myresolver"
- "traefik.http.routers.blast.rule=Host(`$DOMAIN`) && PathPrefix(`/blast-mainnet`)"
- "traefik.http.routers.blast.middlewares=blast-stripprefix, ipwhitelist"
op-blast-mainnet-node:
image: blastio/blast-optimism:mainnet
volumes:
- ./blast-io:/config
- .jwtsecret:/jwtsecret
ports:
- "9003:9003"
command: >
op-node
--l1="$L1_RPC_URL"
--l1.rpckind="$L1_RPC_KIND"
--l2="http://op-blast-mainnet:8551"
--l2.jwt-secret=/jwtsecret
--rollup.config="/config/mainnet/rollup.json"
depends_on:
- op-blast-mainnet
networks:
- chains
environment:
- "OP_NODE_P2P_BOOTNODES=enr:-J64QGwHl9uYLfC_cnmxSA6wQH811nkOWJDWjzxqkEUlJoZHWvI66u-BXgVcPCeMUmg0dBpFQAPotFchG67FHJMZ9OSGAY3d6wevgmlkgnY0gmlwhANizeSHb3BzdGFja4Sx_AQAiXNlY3AyNTZrMaECg4pk0cskPAyJ7pOmo9E6RqGBwV-Lex4VS9a3MQvu7PWDdGNwgnZhg3VkcIJ2YQ,enr:-J64QDge2jYBQtcNEpRqmKfci5E5BHAhNBjgv4WSdwH1_wPqbueq2bDj38-TSW8asjy5lJj1Xftui6Or8lnaYFCqCI-GAY3d6wf3gmlkgnY0gmlwhCO2D9yHb3BzdGFja4Sx_AQAiXNlY3AyNTZrMaEDo4aCTq7pCEN8om9U5n_VyWdambGnQhwHNwKc8o-OicaDdGNwgnZhg3VkcIJ2YQ"
- "L1_RPC_URL=${ETHEREUM_RPC_ENDPOINT}"
- "L1_RPC_KIND=${ETHEREUM_RPC_KIND}"
volumes:
blast-mainnet: