Show L1 addresses when available - #86
Merged
Merged
Conversation
gabmontes
requested review from
ArturDolzan,
arielmergen,
Copilot and
gndelia
September 19, 2025 15:59
There was a problem hiding this comment.
Pull Request Overview
This PR adds L1 address display and search functionality to the companion site. It displays the corresponding L1 token address (when available) for each Hemi token and provides a search input to filter through the token list.
- Enhanced token table to include L1 address column with Etherscan links
- Added client-side search functionality to filter tokens by name, symbol, address, or L1 address
- Fixed test logic to handle remote token lookup errors gracefully
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| scripts/build-ghp-index.js | Added L1 address column, search functionality, and helper functions for explorer URLs |
| test/hemi.tokenlist.test.js | Improved error handling in remote token validation test |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
gabmontes
marked this pull request as ready for review
September 19, 2025 16:00
gabmontes
enabled auto-merge (squash)
September 19, 2025 16:19
gndelia
reviewed
Sep 19, 2025
gndelia
reviewed
Sep 19, 2025
gndelia
reviewed
Sep 19, 2025
gndelia
approved these changes
Sep 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR modifies the companion site to display the L1 address of each token (when available) and also adds an input box to search through the list.
Grabacion.de.pantalla.2025-09-19.a.la.s.11.46.28.a.m.mov
There is no need to bump the package as this only modifies the site's code.