From f807736ac305d4392c74d157bb826a6fe14ac9df Mon Sep 17 00:00:00 2001 From: tom Date: Wed, 4 Sep 2024 19:52:11 +0200 Subject: [PATCH] add optimism_celestia preset --- .github/workflows/deploy-review-l2.yml | 1 + .github/workflows/deploy-review.yml | 1 + .vscode/tasks.json | 1 + configs/envs/.env.optimism_celestia | 46 ++++++++++++++++++++++++++ tools/preset-sync/index.ts | 1 + 5 files changed, 50 insertions(+) create mode 100644 configs/envs/.env.optimism_celestia diff --git a/.github/workflows/deploy-review-l2.yml b/.github/workflows/deploy-review-l2.yml index 0cac7f275a..28e2af1e9a 100644 --- a/.github/workflows/deploy-review-l2.yml +++ b/.github/workflows/deploy-review-l2.yml @@ -20,6 +20,7 @@ on: - eth_sepolia - eth_goerli - optimism + - optimism_celestia - optimism_sepolia - polygon - rootstock diff --git a/.github/workflows/deploy-review.yml b/.github/workflows/deploy-review.yml index 056983af5a..935c52b432 100644 --- a/.github/workflows/deploy-review.yml +++ b/.github/workflows/deploy-review.yml @@ -20,6 +20,7 @@ on: - eth_sepolia - eth_goerli - optimism + - optimism_celestia - optimism_sepolia - polygon - rootstock diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 0d8a70e1ea..5dfe177b20 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -368,6 +368,7 @@ "eth_goerli", "eth_sepolia", "optimism", + "optimism_celestia", "optimism_sepolia", "polygon", "rootstock_testnet", diff --git a/configs/envs/.env.optimism_celestia b/configs/envs/.env.optimism_celestia new file mode 100644 index 0000000000..cb66ee2c0b --- /dev/null +++ b/configs/envs/.env.optimism_celestia @@ -0,0 +1,46 @@ +# Set of ENVs for OP Celestia Raspberry network explorer +# https://opcelestia-raspberry.gelatoscout.com +# This is an auto-generated file. To update all values, run "yarn preset:sync --name=optimism_celestia" + +# Local ENVs +NEXT_PUBLIC_APP_PROTOCOL=http +NEXT_PUBLIC_APP_HOST=localhost +NEXT_PUBLIC_APP_PORT=3000 +NEXT_PUBLIC_APP_ENV=development +NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL=ws + +# Instance ENVs +NEXT_PUBLIC_AD_ADBUTLER_CONFIG_DESKTOP={'id':'721628','width':'728','height':'90'} +NEXT_PUBLIC_AD_ADBUTLER_CONFIG_MOBILE={'id':'721627','width':'300','height':'100'} +NEXT_PUBLIC_AD_BANNER_PROVIDER=adbutler +NEXT_PUBLIC_AD_TEXT_PROVIDER=none +NEXT_PUBLIC_API_BASE_PATH=/ +NEXT_PUBLIC_API_HOST=opcelestia-raspberry.gelatoscout.com +NEXT_PUBLIC_API_SPEC_URL=https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml +NEXT_PUBLIC_CONTRACT_CODE_IDES=[{'title':'Remix IDE','url':'https://remix.ethereum.org/?address={hash}&blockscout={domain}','icon_url':'https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/ide-icons/remix.png'}] +NEXT_PUBLIC_FEATURED_NETWORKS=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/featured-networks/opcelestia-raspberry.json +NEXT_PUBLIC_GRAPHIQL_TRANSACTION=0x0f5b54de81848d8d8baa02c69030037218a2b4df622d64a2a429e11721606656 +NEXT_PUBLIC_HOMEPAGE_CHARTS=['daily_txs'] +NEXT_PUBLIC_HOMEPAGE_PLATE_BACKGROUND=rgba(255, 0, 0, 1) +NEXT_PUBLIC_IS_TESTNET=true +NEXT_PUBLIC_MARKETPLACE_ENABLED=false +NEXT_PUBLIC_METADATA_SERVICE_API_HOST=https://metadata.services.blockscout.com +NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS=18 +NEXT_PUBLIC_NETWORK_CURRENCY_NAME=ETH +NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL=ETH +NEXT_PUBLIC_NETWORK_ICON=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-icons/optimism.svg +NEXT_PUBLIC_NETWORK_ICON_DARK=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-icons/optimism.svg +NEXT_PUBLIC_NETWORK_ID=123420111 +NEXT_PUBLIC_NETWORK_LOGO=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/optimism.svg +NEXT_PUBLIC_NETWORK_LOGO_DARK=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/optimism.svg +NEXT_PUBLIC_NETWORK_NAME=OP Celestia Raspberry +NEXT_PUBLIC_NETWORK_RPC_URL=https://rpc.opcelestia-raspberry.gelato.digital +NEXT_PUBLIC_NETWORK_SHORT_NAME=opcelestia-raspberry +NEXT_PUBLIC_OG_ENHANCED_DATA_ENABLED=true +NEXT_PUBLIC_ROLLUP_L1_BASE_URL=https://eth-sepolia.blockscout.com/ +NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL=https://bridge.gelato.network/bridge/opcelestia-raspberry +NEXT_PUBLIC_ROLLUP_TYPE=optimistic +NEXT_PUBLIC_STATS_API_HOST=https://stats-opcelestia-raspberry.k8s.blockscout.com +NEXT_PUBLIC_TRANSACTION_INTERPRETATION_PROVIDER=blockscout +NEXT_PUBLIC_VISUALIZE_API_HOST=https://visualizer.services.blockscout.com +NEXT_PUBLIC_WEB3_WALLETS=none \ No newline at end of file diff --git a/tools/preset-sync/index.ts b/tools/preset-sync/index.ts index 243bd61137..5f83d060e1 100755 --- a/tools/preset-sync/index.ts +++ b/tools/preset-sync/index.ts @@ -11,6 +11,7 @@ const PRESETS = { eth_sepolia: 'https://eth-sepolia.blockscout.com', gnosis: 'https://gnosis.blockscout.com', optimism: 'https://optimism.blockscout.com', + optimism_celestia: 'https://opcelestia-raspberry.gelatoscout.com', optimism_sepolia: 'https://optimism-sepolia.blockscout.com', polygon: 'https://polygon.blockscout.com', rootstock_testnet: 'https://rootstock-testnet.blockscout.com',