Commit Graph
56 Commits
Author SHA1 Message Date
Hanzo AI 684dca3451 feat: explorer FE — stateless SSR, chain selector, localnet, registry cleanup 2026-03-01 18:00:00 -08:00
Hanzo Dev 1f41b7b38e feat: multichain explorer pages, chain switcher, indexer integration
- Network Overview homepage with P-chain stats and chain cards
- Chain detail page with validator info and indexer stats
- Chain switcher dropdown in top bar
- A-chain AI client with indexer API integration
- D-chain DEX data hook with live indexer fallback
- E2E tests for all 5 live explorer instances
- Test transaction sender script
- Remove verbose comments, section dividers, and console.log scaffolding
2026-02-27 10:46:56 -08:00
Hanzo Dev c4d965391d Switch from yarn to pnpm, clean up dependency tree
- Replace yarn v1 with pnpm 10.11.0 across all build configs
- Move misplaced deps to devDependencies (cspell, esbuild, @openzeppelin/contracts, @next/bundle-analyzer, @types/papaparse, @types/react-scroll)
- Remove stale @types/[email protected] override — use correct React 19 types (fixes 22 type errors)
- Convert yarn resolutions to pnpm.overrides
- Update Dockerfile, Dockerfile.lux, CI workflows, and all shell scripts
- Add .npmrc with shamefully-hoist for Next.js compatibility
- Add outputFileTracingRoot to next.config.js
2026-02-24 17:35:30 -08:00
tom goriunovandGitHub 03cff7057a Highlights banners on home page (#3175)
* basic implementation

* fix loading state of image

* tests

* try to fix flaky tests
2025-12-18 12:21:53 +01:00
8b360b8b90 Fixes for release v2.5.0 (#3142)
* fail the app start if multichain config or essential dapps config were not generated properly

* add timeouts for essential dapps and multichain config generators

* fix "add to wallet" button in address tokens table

* [skip ci] update docs

* fix tx tables when there are no fee and value columns

* add support for promoted multichain provider

* fixes

* change action button logic

* fix tests

* fix

* hide "add network" button for multichain

* shorten the amount of txs on multichain homepage

* change name formatting for multichain button

* add bright color variants and lg size for badges

* fix y-axis margin calculation for chart with custom tick formatter

* superchain bug fixes

* bump versions of react and nextjs

* update screenshot

* bump dappscout-iframe

---------

Co-authored-by: Max Alekseenko <[email protected]>
2025-12-04 18:44:01 +01:00
tom goriunovandGitHub a28fbd02d5 Refactor envs validator: split schema and migrate to vite (#3140)
* migrate to vite

* split validation schema
2025-11-19 11:01:05 +01:00
Max AlekseenkoandGitHub db0593fc74 Essential dapps (#3026) 2025-10-17 14:58:12 +02:00
Igor StuevandGitHub 22d139f26d add retries for assets downloading, fail build (#3030)
* add retries for assets downloading, fail build

* fix wording
2025-09-27 20:43:12 +02:00
tom goriunovandGitHub f47a7ed2cb llms.txt introduction (#2967)
* add file generator and template for common content

* add chain specific data

* add chain specific data for stability, shibarium, scroll and zilliqa

* fix ts

* add instructions about contract sources
2025-09-08 11:30:30 +02:00
Igor StuevandGitHub 1c9c4e48d5 zeta chain cctx (#2904)
* zetachain start

* zeta chain cctx table

* pagination

* cctx page init

* meta for new route

* remove backlink

* schema

* continue

* fix

* navigation

* filters to test

* some fixes

* add chain filter

* add error message and revert options

* address chain logo fix

* cctx search

* socket

* fix conflict

* fixes1

* fixes2

* fixes3

* fixes4

* fixes5

* tests

* fixes6

* test fixes

* revert options fix

* stats and revert semi-fix

* fix readme

* cleanup

* check for cctx in lifecycle

* update config

* fixes 8

* fixes 9

* update config

* fixes10
2025-09-05 15:53:00 +02:00
Max AlekseenkoandGitHub 0ac0b2d362 Support new API for dapp ratings (#2916); Remove dapp security score (#2918) 2025-08-08 14:49:14 +02:00
eed52a4f49 Address widgets (#2788)
* add address widgets

* Update ENVS.md

* fix long values

* fix responsive size and hover border color

* improve url template formatting, add chainId mapping

* add hover animation

* add widgets tab

* filter widgets by address type

* fix link style

* add mixpanel event

* fix stub

* fix result check

* add tests

* fix tabs loading

* Check the workflow: generate chakra types if the node_modules cache is hit

* fix loading

* fix loading view all link

* fix loading issue

* post-review changes

* rename envs and feature

* rename components and hook

* rename config prop and change url template format

* change validation schema

* add chain_id to request params

* update tests

* rename, improve

* improve grid logic

* improve formatting func

* simplify grid logic

* update hint text

* duplicate widgets in env for tests

* update mocks and snapshots

* fix text

* fix grid one more time

* update envs with test config

* update snapshots

* fix grid max width

* update mock and snapshots

* use separator

* Update .env.eth

* fix

* update snapshots

---------

Co-authored-by: tom <[email protected]>
2025-07-04 10:21:28 +02:00
tom goriunovandGitHub 8f16d530c8 OP Superchain Explorer: MVP (#2786)
* context for storing subchain config and tx view for subchain

* address page and block page for subchain

* address aggregated page: local txs tab

* connect MultichainSelect to context

* home page placeholder

* refactor subchain select state

* envs for demo

* fix ts

* clear value for l2 review

* subchain widgets on home page

* csp policies

* sockets, duck and goose

* fix socket on subchain address page

* link builder for subchain views

* update home widget

* fix time increment

* enable tx interpretator and metadata service

* generate multichain config based on every chain app config

* Fix the multichain config to work in Docker

* multichain socket test

* rename subchain-id to subchain-slug path param

* refactoring

* update chain icons on entities

* home page: latest local txs

* latest cross-chain txs

* minor improvements

* renaming, pt. 1

* rename chain routes

* enable blockchain interaction

* add loading state to icon shield

* fix build

* fix tests

* update types package
2025-07-03 15:07:00 +02:00
tom a818ffdd5f Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-24 19:47:18 +01:00
tom 9970038eeb [skip ci] generate og image after validating envs 2025-03-19 19:28:27 +01:00
tom goriunovandGitHub 9d2a5068fa Make static sprite registry (#2615)
* make static sprite registry

* [skip ci] fix file stats command

* [skip ci] sort icons by name
2025-03-14 17:04:06 +01:00
tom ae93a81c52 fix build, sidebar transition and network logo loading state 2025-03-12 20:15:14 +01:00
tom 7baad7e61d Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-11 20:25:18 +01:00
tom 9e2845a406 [skip ci] add timeouts for og and sitemap generators 2025-02-18 14:21:27 +01:00
tom 4563f87bc1 [skip ci] add timeout for asset download script 2025-02-18 12:18:57 +01:00
tom 4862c25188 make build not failing in the ci 2025-01-23 18:13:19 +01:00
tom goriunovandGitHub a0e6731898 OG image: automatically generate image on container start (#2496)
* make script to generate OG image at container start

* add prod service URL

* remove og_image.png

* update path to file

* [skip ci] remove app url from payload
2025-01-14 12:01:18 +01:00
tom goriunovandGitHub 4f4cb37fe6 Generate sitemap.xml and robots.txt files (#2502)
* base implementation of sitemap generator

* move generator to separate directory to optimize docker image size

* generate robots.txt file
2025-01-14 11:56:47 +01:00
tom dd9679e093 append hash to sprite file name base on its content 2024-12-23 15:37:28 +01:00
MaxandGitHub dc8dfc98fc fix(deploy-script): favicon generator (#2466)
Without this change, the script tries to execute an `index.js` located
in a folder that does not have such a file.
2024-12-13 13:56:53 +01:00
Igor StuevandGitHub 3f61192434 Merge pull request #2319 from blockscout/fe-2287
Favicon generator: replace realfavicon with favicons package
2024-11-01 11:39:06 +01:00
tom goriunovandGitHub 6cf70899e2 Add run-time variable to skip ENVs validation (#2334)
Add run-time variable to skip ENV validation
2024-10-29 08:18:48 +01:00
isstuev 191638517f Favicon generator: replace realfavicon with favicons package 2024-10-25 13:57:35 +02:00
isstuev 3b9bf4a79e Graph integration 2024-10-17 13:39:10 +03:00
omnusandGitHub 9eae00268b Next.js compliant command for production builds (#2219)
* feat: Vercel compliant command for prod builds

* feat: simplify to a single command, rename command

Also included the script to download assets.

* fix: exclude vercel injected env vars

Vercel injects a number of environment variables, that in some cases can result in run time errors when the app is reading from envs.js. Exclude these.
2024-09-11 12:20:27 +02:00
tom 1e8178d3f0 add support of raw string inputs for json-like config ENVs 2024-08-30 18:43:25 +02:00
tom goriunovandGitHub 518c40e889 Move generated assets into separate folder inside the public folder (#1930)
* add build-time ENV to explicitly enable Open Telemetry

* generate svg-sprite before next build

* move envs.js to assets folder

* move favicon bundle to assets folder

* move external configs to configs folder

* fix envs validator
2024-05-20 13:17:33 +02:00
tom goriunovandGitHub 295d02dc24 zkEVM deposits and withdrawals (#1833)
* deposits page

* withdrawals page

* tests

* rename optimism routes

* [skip ci] fix presets
2024-04-23 15:42:32 +02:00
tom goriunovandGitHub 22cb1b802a ENVs preset for deploy demo workflow (#1829)
* pass envs preset to docker entrypoing

* gh actions integration

* update presets

* more preset fixes

* [skip ci] fixes
2024-04-17 14:38:53 +02:00
Max Alekseenko 804d0991d7 add iframe banner 2024-04-04 18:00:48 +02:00
Max Alekseenko 8e1f509301 add featured app banner 2024-03-29 19:46:43 +01:00
Max Alekseenko b1b120a745 add security score component, integrate real data 2024-03-13 22:19:08 +01:00
Max Alekseenko 1d68ac82f1 use separate list of categories and improve apps sorting 2024-01-26 17:44:19 +01:00
tom goriunovandGitHub 261856f820 support local file URI for ENVs with external resources (#1325)
[skip ci] support local file URI for ENVs with external resources

Fixes #1324
2023-11-08 10:11:40 -03:00
tom goriunovandGitHub a626fce491 ENVs changes and test script for validator (#1296)
* use SENTRY_CSP_REPORT_URI only in nextjs part of the app

* rename NEXT_PUBLIC_FAVICON_GENERATOR_API_KEY to FAVICON_GENERATOR_API_KEY

* tests presets for envs validator

* simplify logs

* refactor getExternalJsonContent function

* tweak contribution guide

* break validator

* debug workflow

* fix copying assets folder

* fix CI
2023-10-18 12:05:00 -03:00
tom goriunovandGitHub 031a9ec20b filters counters and verify button (#1294)
* add counter to filters

* move verification button higher for partially verified contracts

* [skip ci] support query params in external assets ENV urls

* [skip ci] skip code checks if changes in tools folder

* [skip ci] tweak eslint process.env rule
2023-10-18 12:03:09 -03:00
tom goriunovandGitHub 6b74ed5766 double quotes in NEXT_PUBLIC_MAINTENANCE_ALERT_MESSAGE cause an error (#1285)
Fixes #1276
2023-10-16 11:15:39 -03:00
tom c7f15b4b8b fix envs generator for pw tests 2023-10-13 17:49:52 -03:00
tom 93bb39891b [skip ci] fix loading envs from docker build stage 2023-10-03 10:19:33 -03:00
tom goriunovandGitHub 0bec5abfff workaround for ENV replacement script (#1212)
* base implementation of client script with envs values

* better ENVs setup for pw tests

* fix tests
2023-09-29 10:45:23 -03:00
Igor StuevandGitHub cba84f8df5 og improvements (#1175)
* og improvements

* update review configs

* review fix

* review fix 2
2023-09-25 14:34:26 -03:00
tom goriunovandGitHub b256cbb3e5 validate ENV values at run-time (#1184)
* migrate from zod to yul schema

* describe full schema

* adjust docker integration

* make script for downloading app assets

* change links to downloaded assets in the config code

* docker integration

* validate external json configs

* better schemas and ts integration

* update docs and dev script

* gh workflow

* try to fail gh workflow

* install global deps and adjust script for gh workflow

* refinements

* make workflow to pass

* 🙈

* fix tests
2023-09-19 16:19:27 -03:00
tom goriunovandGitHub 4b10b42824 Highlight Safe wallets (#1174)
* add tag and icon for safe contracts

* surpress sentry error log and describe feature in the docs

* refine logs at container start
2023-09-19 11:18:07 -03:00
tom 396420da85 add favicon path to values for review envs 2023-09-06 15:54:33 -03:00
tom bf4300403c integrate with docker and CI 2023-09-06 15:23:41 -03:00