From 0b54f3568dc0ac8edb0a95db4682847d8dfbb62b Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:39:57 +0200 Subject: [PATCH] init --- arb-alephzero-mainnet.yml | 58 +++++++++++++++++++++++++++ arb/mainnet/alephzero/baseConfig.json | 5 +++ reference-rpc-endpoint.json | 9 +++++ 3 files changed, 72 insertions(+) create mode 100644 arb-alephzero-mainnet.yml create mode 100644 arb/mainnet/alephzero/baseConfig.json diff --git a/arb-alephzero-mainnet.yml b/arb-alephzero-mainnet.yml new file mode 100644 index 00000000..3372aa23 --- /dev/null +++ b/arb-alephzero-mainnet.yml @@ -0,0 +1,58 @@ +version: '3.1' + +services: + arb-alephzero-mainnet: + image: 'offchainlabs/nitro-node:${NITRO_VERSION:-v3.1.0-7d1d84c}' + stop_grace_period: 3m + user: root + volumes: + - 'arb-alephzero-mainnet:/persistent' + - './arb/mainnet/alephzero/baseConfig.json:/baseConfig.json' + expose: + - 8547 # http + ws + command: + - --conf.file=/baseConfig.json + - --persistent.ancient=/persistent/ancient + - --persistent.chain=/persistent/chain + - --persistent.global-config=/persistent/global-config + - --execution.caching.archive=true + - --execution.forwarding-target=https://rpc.alephzero.raas.gelato.cloud + - --node.feed.input.url=wss://feed.alephzero.raas.gelato.cloud + - --parent-chain.connection.url=${ALEPHZERO_MAINNET_PARENT_RPC} + - --http.addr=0.0.0.0 + - --http.port=8547 + - --http.vhosts=* + - --http.corsdomain=* + - --http.api=eth,net,web3,arb,txpool,debug + - --ws.port=8547 + - --ws.addr=0.0.0.0 + - --ws.origins=* + - --ws.api=eth,net,web3,arb,txpool,debug + - --node.data-availability.enable=true + - --node.data-availability.sequencer-inbox-address=0xF75206c49c1694594E3e69252E519434f1579876 + - --node.data-availability.parent-chain-node-url=${ALEPHZERO_MAINNET_PARENT_RPC} + - --parent-chain.blob-client.beacon-url=${ALEPHZERO_MAINNET_PARENT_BEACON_REST} + - --node.data-availability.rest-aggregator.enable=true + - --node.data-availability.rest-aggregator.urls=https://das.alephzero.raas.gelato.cloud + - --metrics + - --metrics-server.addr=0.0.0.0 + - --metrics-server.port=6070 + - --log-type=json + - --node.sequencer=false + - --execution.sequencer.enable=false + - --node.staker.enable=false + - --node.batch-poster.enable=false + restart: unless-stopped + labels: + - "traefik.enable=true" + - "traefik.http.middlewares.alephzero-mainnet-stripprefix.stripprefix.prefixes=/alephzero-mainnet" + - "traefik.http.services.alephzero-mainnet.loadbalancer.server.port=8547" + - "traefik.http.routers.alephzero-mainnet.entrypoints=websecure" + - "traefik.http.routers.alephzero-mainnet.tls.certresolver=myresolver" + - "traefik.http.routers.alephzero-mainnet.rule=Host(`$DOMAIN`) && PathPrefix(`/alephzero-mainnet`)" + - "traefik.http.routers.alephzero-mainnet.middlewares=alephzero-mainnet-stripprefix, ipwhitelist" + networks: + - chains + +volumes: + arb-alephzero-mainnet: diff --git a/arb/mainnet/alephzero/baseConfig.json b/arb/mainnet/alephzero/baseConfig.json new file mode 100644 index 00000000..d0676637 --- /dev/null +++ b/arb/mainnet/alephzero/baseConfig.json @@ -0,0 +1,5 @@ +{ + "chain": { + "info-json": "[{\"chain-id\":41455,\"parent-chain-id\":1,\"parent-chain-is-arbitrum\":false,\"chain-config\":{\"homesteadBlock\":0,\"daoForkBlock\":null,\"daoForkSupport\":true,\"eip150Block\":0,\"eip150Hash\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"eip155Block\":0,\"eip158Block\":0,\"byzantiumBlock\":0,\"constantinopleBlock\":0,\"petersburgBlock\":0,\"istanbulBlock\":0,\"muirGlacierBlock\":0,\"berlinBlock\":0,\"londonBlock\":0,\"clique\":{\"period\":0,\"epoch\":0},\"arbitrum\":{\"EnableArbOS\":true,\"AllowDebugPrecompiles\":false,\"DataAvailabilityCommittee\":true,\"InitialArbOSVersion\":20,\"GenesisBlockNum\":0,\"MaxCodeSize\":98304,\"MaxInitCodeSize\":49152,\"InitialChainOwner\":\"0x257812604076712675ae9788F5Bd738173CA3CE0\"},\"chainId\":41455},\"rollup\":{\"bridge\":\"0x41Ec9456AB918f2aBA81F38c03Eb0B93b78E84d9\",\"inbox\":\"0x56D8EC76a421063e1907503aDd3794c395256AEb\",\"sequencer-inbox\":\"0xF75206c49c1694594E3e69252E519434f1579876\",\"rollup\":\"0x1CA12290D954CFe022323b6A6Df92113ed6b1C98\",\"validator-utils\":\"0x2b0E04Dc90e3fA58165CB41E2834B44A56E766aF\",\"validator-wallet-creator\":\"0x9CAd81628aB7D8e239F1A5B497313341578c5F71\",\"deployed-at\":20412468}}]" + } +} diff --git a/reference-rpc-endpoint.json b/reference-rpc-endpoint.json index e9dad61c..ce445c8c 100644 --- a/reference-rpc-endpoint.json +++ b/reference-rpc-endpoint.json @@ -82,6 +82,15 @@ "arb-alephzero-sepolia" ] }, + "alephzero-mainnet": { + "id": 41455, + "urls": [ + "https://rpc.alephzero.raas.gelato.cloud" + ], + "default": [ + "arb-alephzero-mainnet" + ] + }, "connext-sepolia": { "id": 6398, "urls": [