From 409a8aa7a95feb939a91b6c80153be980ca1d271 Mon Sep 17 00:00:00 2001 From: tom Date: Fri, 8 Nov 2024 12:14:34 +0100 Subject: [PATCH] ENV preset for zilliqa --- .github/workflows/deploy-review-l2.yml | 4 ++- .github/workflows/deploy-review.yml | 2 ++ .vscode/tasks.json | 2 ++ configs/envs/.env.zilliqa_prototestnet | 40 ++++++++++++++++++++++++++ tools/preset-sync/index.ts | 1 + 5 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 configs/envs/.env.zilliqa_prototestnet diff --git a/.github/workflows/deploy-review-l2.yml b/.github/workflows/deploy-review-l2.yml index 2ee4dd35e7..1f2d980ab9 100644 --- a/.github/workflows/deploy-review-l2.yml +++ b/.github/workflows/deploy-review-l2.yml @@ -27,8 +27,10 @@ on: - rootstock - shibarium - stability - - zkevm + - zkevm + - zilliqa_prototestnet - zksync + - zora jobs: make_slug: diff --git a/.github/workflows/deploy-review.yml b/.github/workflows/deploy-review.yml index f183ead094..427144554d 100644 --- a/.github/workflows/deploy-review.yml +++ b/.github/workflows/deploy-review.yml @@ -28,7 +28,9 @@ on: - shibarium - stability - zkevm + - zilliqa_prototestnet - zksync + - zora jobs: make_slug: diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 40896494ac..f847a6f356 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -376,7 +376,9 @@ "shibarium", "stability_testnet", "zkevm", + "zilliqa_prototestnet", "zksync", + "zora", ], "default": "main" }, diff --git a/configs/envs/.env.zilliqa_prototestnet b/configs/envs/.env.zilliqa_prototestnet new file mode 100644 index 0000000000..e7e4efdc45 --- /dev/null +++ b/configs/envs/.env.zilliqa_prototestnet @@ -0,0 +1,40 @@ +# Set of ENVs for Zilliqa EVM proto-testnet network explorer +# https://zilliqa-prototestnet.blockscout.com +# This is an auto-generated file. To update all values, run "yarn dev:preset:sync --name=zilliqa_prototestnet" + +# 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 + +NEXT_PUBLIC_VIEWS_ADDRESS_FORMAT=['bech32','base16'] +NEXT_PUBLIC_VIEWS_ADDRESS_BECH_32_PREFIX=zil + +# Instance ENVs +NEXT_PUBLIC_API_BASE_PATH=/ +NEXT_PUBLIC_API_HOST=zilliqa-prototestnet.blockscout.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_GRAPHIQL_TRANSACTION=0x3d1ded3a7924cd3256a4b1a447c9bfb194f54b9a8ceb441edb8bb01563b516db +NEXT_PUBLIC_HOMEPAGE_CHARTS=['daily_txs'] +NEXT_PUBLIC_HOMEPAGE_HERO_BANNER_CONFIG={'background':['linear-gradient(90deg, rgba(52,103, 109, 1) 0.06%, rgba(105, 181, 172, 1) 99.97%)'],'text_color':['rgba(255, 255, 255, 1)']} +NEXT_PUBLIC_IS_TESTNET=true +NEXT_PUBLIC_METADATA_SERVICE_API_HOST=https://metadata.services.blockscout.com +NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS=18 +NEXT_PUBLIC_NETWORK_CURRENCY_NAME=ZIL +NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL=ZIL +NEXT_PUBLIC_NETWORK_ICON=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-icons/zilliqa.svg +NEXT_PUBLIC_NETWORK_ICON_DARK=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-icons/zilliqa-dark.svg +NEXT_PUBLIC_NETWORK_ID=33103 +NEXT_PUBLIC_NETWORK_LOGO=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/zilliqa.svg +NEXT_PUBLIC_NETWORK_LOGO_DARK=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/zilliqa-dark.svg +NEXT_PUBLIC_NETWORK_NAME=Zilliqa EVM proto-testnet +NEXT_PUBLIC_NETWORK_RPC_URL=https://api.zq2-prototestnet.zilliqa.com +NEXT_PUBLIC_NETWORK_SHORT_NAME=Zilliqa EVM proto-testnet +NEXT_PUBLIC_OG_ENHANCED_DATA_ENABLED=true +NEXT_PUBLIC_OG_IMAGE_URL=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/og-images/zilliqa.png +NEXT_PUBLIC_RE_CAPTCHA_APP_SITE_KEY=6Ld0iT8aAAAAAJdju0CmAwGjW7JTDvIw-Q5pwt5T +NEXT_PUBLIC_TRANSACTION_INTERPRETATION_PROVIDER=blockscout +NEXT_PUBLIC_VISUALIZE_API_HOST=https://visualizer.services.blockscout.com \ No newline at end of file diff --git a/tools/preset-sync/index.ts b/tools/preset-sync/index.ts index 3c61bfdcbe..289842996b 100755 --- a/tools/preset-sync/index.ts +++ b/tools/preset-sync/index.ts @@ -22,6 +22,7 @@ const PRESETS = { stability_testnet: 'https://stability-testnet.blockscout.com', zkevm: 'https://zkevm.blockscout.com', zksync: 'https://zksync.blockscout.com', + zilliqa_prototestnet: 'https://zilliqa-prototestnet.blockscout.com', zora: 'https://explorer.zora.energy', // main === staging main: 'https://eth-sepolia.k8s-dev.blockscout.com',