Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
c716a140
Commit
c716a140
authored
Sep 17, 2024
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add filecoin envs
parent
ae26fd9f
Changes
18
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
60 additions
and
17 deletions
+60
-17
.env.arbitrum
configs/envs/.env.arbitrum
+1
-1
.env.arbitrum_nova
configs/envs/.env.arbitrum_nova
+1
-1
.env.base
configs/envs/.env.base
+1
-1
.env.celo_alfajores
configs/envs/.env.celo_alfajores
+1
-1
.env.eth
configs/envs/.env.eth
+1
-1
.env.eth_sepolia
configs/envs/.env.eth_sepolia
+1
-1
.env.filecoin
configs/envs/.env.filecoin
+42
-0
.env.gnosis
configs/envs/.env.gnosis
+1
-1
.env.main
configs/envs/.env.main
+1
-1
.env.optimism
configs/envs/.env.optimism
+1
-1
.env.optimism_celestia
configs/envs/.env.optimism_celestia
+1
-1
.env.optimism_sepolia
configs/envs/.env.optimism_sepolia
+1
-1
.env.polygon
configs/envs/.env.polygon
+1
-1
.env.rootstock_testnet
configs/envs/.env.rootstock_testnet
+1
-1
.env.stability_testnet
configs/envs/.env.stability_testnet
+1
-1
.env.zkevm
configs/envs/.env.zkevm
+1
-1
.env.zksync
configs/envs/.env.zksync
+1
-1
index.ts
tools/preset-sync/index.ts
+2
-1
No files found.
configs/envs/.env.arbitrum
View file @
c716a140
# Set of ENVs for Arbitrum One network explorer
# Set of ENVs for Arbitrum One network explorer
# https://arbitrum.blockscout.com
# https://arbitrum.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=arbitrum"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=arbitrum"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.arbitrum_nova
View file @
c716a140
# Set of ENVs for Arbitrum One network explorer
# Set of ENVs for Arbitrum One network explorer
# https://arbitrum.blockscout.com
# https://arbitrum.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=arbitrum"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=arbitrum"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.base
View file @
c716a140
# Set of ENVs for Base Mainnet network explorer
# Set of ENVs for Base Mainnet network explorer
# https://base.blockscout.com
# https://base.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=base"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=base"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.celo_alfajores
View file @
c716a140
# Set of ENVs for Celo Alfajores network explorer
# Set of ENVs for Celo Alfajores network explorer
# https://celo-alfajores.blockscout.com
# https://celo-alfajores.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=celo_alfajores"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=celo_alfajores"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.eth
View file @
c716a140
# Set of ENVs for Ethereum network explorer
# Set of ENVs for Ethereum network explorer
# https://eth.blockscout.com
# https://eth.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=eth"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=eth"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.eth_sepolia
View file @
c716a140
# Set of ENVs for Sepolia network explorer
# Set of ENVs for Sepolia network explorer
# https://eth-sepolia.blockscout.com
# https://eth-sepolia.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=eth_sepolia"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=eth_sepolia"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.filecoin
0 → 100644
View file @
c716a140
# Set of ENVs for Filecoin Virtual Machine network explorer
# https://filecoin.blockscout.com
# This is an auto-generated file. To update all values, run "yarn dev:preset:sync --name=filecoin"
# 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_API_BASE_PATH=/
NEXT_PUBLIC_API_HOST=filecoin.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_FOOTER_LINKS=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/footer-links/fvm.json
NEXT_PUBLIC_GRAPHIQL_TRANSACTION=0x5abb6212c1802402b828ed20c2bd4d4a6153b8bee68a5259cba3c8d7a7c6b775
NEXT_PUBLIC_HOMEPAGE_CHARTS=['daily_txs', 'coin_price', 'market_cap']
NEXT_PUBLIC_HOMEPAGE_PLATE_BACKGROUND=linear-gradient(237deg, rgb(26, 58, 150) 14.83%, rgb(111, 223, 164) 132.56%)
NEXT_PUBLIC_HOMEPAGE_PLATE_TEXT_COLOR=rgba(255, 255, 255, 1)
NEXT_PUBLIC_IS_ACCOUNT_SUPPORTED=true
NEXT_PUBLIC_LOGOUT_URL=https://blockscout-filecoin.us.auth0.com/v2/logout
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=FIL
NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL=FIL
NEXT_PUBLIC_NETWORK_EXPLORERS=[{'title':'GeckoTerminal','logo':'https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/explorer-logos/geckoterminal.png','baseUrl':'https://www.geckoterminal.com/','paths':{'token':'/filecoin/pools'}}]
NEXT_PUBLIC_NETWORK_ICON=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-icons/filecoin-icon-dark.svg
NEXT_PUBLIC_NETWORK_ICON_DARK=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-icons/filecoin-icon-light.svg
NEXT_PUBLIC_NETWORK_ID=314
NEXT_PUBLIC_NETWORK_LOGO=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/filecoin-logo-dark.svg
NEXT_PUBLIC_NETWORK_LOGO_DARK=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/filecoin-logo-light.svg
NEXT_PUBLIC_NETWORK_NAME=Filecoin Virtual Machine
NEXT_PUBLIC_NETWORK_RPC_URL=https://rpc.ankr.com/filecoin
NEXT_PUBLIC_NETWORK_SHORT_NAME=Filecoin Virtual Machine
NEXT_PUBLIC_OG_ENHANCED_DATA_ENABLED=true
NEXT_PUBLIC_OG_IMAGE_URL=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/og-images/filecoin.png
NEXT_PUBLIC_STATS_API_HOST=https://stats-filecoin.k8s-prod-1.blockscout.com
NEXT_PUBLIC_TRANSACTION_INTERPRETATION_PROVIDER=blockscout
NEXT_PUBLIC_VISUALIZE_API_HOST=https://visualizer.services.blockscout.com
\ No newline at end of file
configs/envs/.env.gnosis
View file @
c716a140
# Set of ENVs for Gnosis chain network explorer
# Set of ENVs for Gnosis chain network explorer
# https://gnosis.blockscout.com
# https://gnosis.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=gnosis"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=gnosis"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.main
View file @
c716a140
# Set of ENVs for Sepolia network explorer
# Set of ENVs for Sepolia network explorer
# https://eth-sepolia.k8s-dev.blockscout.com
# https://eth-sepolia.k8s-dev.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=main"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=main"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.optimism
View file @
c716a140
# Set of ENVs for OP Mainnet network explorer
# Set of ENVs for OP Mainnet network explorer
# https://optimism.blockscout.com
# https://optimism.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=optimism"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=optimism"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.optimism_celestia
View file @
c716a140
# Set of ENVs for OP Celestia Raspberry network explorer
# Set of ENVs for OP Celestia Raspberry network explorer
# https://opcelestia-raspberry.gelatoscout.com
# https://opcelestia-raspberry.gelatoscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=optimism_celestia"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=optimism_celestia"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.optimism_sepolia
View file @
c716a140
# Set of ENVs for OP Sepolia network explorer
# Set of ENVs for OP Sepolia network explorer
# https://optimism-sepolia.blockscout.com
# https://optimism-sepolia.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=optimism_sepolia"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=optimism_sepolia"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.polygon
View file @
c716a140
# Set of ENVs for Polygon Mainnet network explorer
# Set of ENVs for Polygon Mainnet network explorer
# https://polygon.blockscout.com
# https://polygon.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=polygon"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=polygon"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.rootstock_testnet
View file @
c716a140
# Set of ENVs for Rootstock Testnet network explorer
# Set of ENVs for Rootstock Testnet network explorer
# https://rootstock-testnet.blockscout.com
# https://rootstock-testnet.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=rootstock_testnet"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=rootstock_testnet"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.stability_testnet
View file @
c716a140
# Set of ENVs for Stability Testnet network explorer
# Set of ENVs for Stability Testnet network explorer
# https://stability-testnet.blockscout.com
# https://stability-testnet.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=stability_testnet"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=stability_testnet"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.zkevm
View file @
c716a140
# Set of ENVs for Polygon zkEVM network explorer
# Set of ENVs for Polygon zkEVM network explorer
# https://zkevm.blockscout.com
# https://zkevm.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=zkevm"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=zkevm"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
configs/envs/.env.zksync
View file @
c716a140
# Set of ENVs for ZkSync Era network explorer
# Set of ENVs for ZkSync Era network explorer
# https://zksync.blockscout.com
# https://zksync.blockscout.com
# This is an auto-generated file. To update all values, run "yarn preset:sync --name=zksync"
# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=zksync"
# Local ENVs
# Local ENVs
NEXT_PUBLIC_APP_PROTOCOL=http
NEXT_PUBLIC_APP_PROTOCOL=http
...
...
tools/preset-sync/index.ts
View file @
c716a140
...
@@ -11,6 +11,7 @@ const PRESETS = {
...
@@ -11,6 +11,7 @@ const PRESETS = {
eth_goerli
:
'
https://eth-goerli.blockscout.com
'
,
eth_goerli
:
'
https://eth-goerli.blockscout.com
'
,
eth_sepolia
:
'
https://eth-sepolia.blockscout.com
'
,
eth_sepolia
:
'
https://eth-sepolia.blockscout.com
'
,
garnet
:
'
https://explorer.garnetchain.com
'
,
garnet
:
'
https://explorer.garnetchain.com
'
,
filecoin
:
'
https://filecoin.blockscout.com
'
,
gnosis
:
'
https://gnosis.blockscout.com
'
,
gnosis
:
'
https://gnosis.blockscout.com
'
,
optimism
:
'
https://optimism.blockscout.com
'
,
optimism
:
'
https://optimism.blockscout.com
'
,
optimism_celestia
:
'
https://opcelestia-raspberry.gelatoscout.com
'
,
optimism_celestia
:
'
https://opcelestia-raspberry.gelatoscout.com
'
,
...
@@ -75,7 +76,7 @@ function updateFileContent(envsEntries: Array<[ string, string ]>, presetId: key
...
@@ -75,7 +76,7 @@ function updateFileContent(envsEntries: Array<[ string, string ]>, presetId: key
const
content
=
const
content
=
`# Set of ENVs for
${
chainName
}
network explorer\n`
+
`# Set of ENVs for
${
chainName
}
network explorer\n`
+
'
#
'
+
explorerUrl
+
'
\n
'
+
'
#
'
+
explorerUrl
+
'
\n
'
+
`# This is an auto-generated file. To update all values, run "yarn preset:sync --name=
${
presetId
}
"\n`
+
`# This is an auto-generated file. To update all values, run "yarn
dev:
preset:sync --name=
${
presetId
}
"\n`
+
'
\n
'
+
'
\n
'
+
'
# Local ENVs
\n
'
+
'
# Local ENVs
\n
'
+
localEnvsContent
+
'
\n
'
+
localEnvsContent
+
'
\n
'
+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment