Skip to content

Show L1 addresses when available - #86

Merged
gabmontes merged 5 commits into
masterfrom
show-l1-address
Sep 19, 2025
Merged

gabmontes merged 5 commits into
masterfrom
show-l1-address

Conversation

@gabmontes

Copy link
Copy Markdown
Member

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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread scripts/build-ghp-index.js
@gabmontes
gabmontes marked this pull request as ready for review September 19, 2025 16:00
@gabmontes
gabmontes enabled auto-merge (squash) September 19, 2025 16:19
Comment thread scripts/build-ghp-index.js
Comment thread scripts/build-ghp-index.js Outdated
Comment thread test/hemi.tokenlist.test.js Outdated
@gabmontes
gabmontes requested a review from gndelia September 19, 2025 16:40

@ArturDolzan ArturDolzan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gabmontes
gabmontes merged commit d1c0620 into master Sep 19, 2025
7 checks passed
@gabmontes
gabmontes deleted the show-l1-address branch September 19, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants