Add cross-chain transaction tracking and visualization#3227
Merged
Conversation
Collaborator
Author
|
bugbot run |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
This is the final PR Bugbot will review for you during this billing cycle
Your free Bugbot reviews will reset on March 10
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
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.
Description and Related Issue(s)
This pull request introduces comprehensive cross-chain transaction tracking and visualization functionality. It enables users to view transactions that span multiple blockchains, providing detailed information about cross-chain operations and links to related transactions on different chains.
Proposed Changes
New pages and components:
API integration:
UI enhancements:
Configuration:
Environment Variables
Added
NEXT_PUBLIC_CROSS_CHAIN_TXS_CONFIG: URL of the configuration file in JSON format that contains information about the chains involved in cross-chain transactions. This config includes chain IDs, names, logos, explorer URLs, and route templates for building links to external chain explorers.Added
NEXT_PUBLIC_INTERCHAIN_INDEXER_API_HOST: Interchain indexer API service host used to fetch cross-chain transaction data and metadata, including transaction details, token transfers, messages, and statistics.Breaking or Incompatible Changes
None.
Additional Information
@blockscout/interchain-indexer-typesfor TypeScript type definitionsChecklist for PR author
Note
Medium Risk
Large, feature-flagged UI/API surface area change that adds a new backend dependency and new routing/tab flows; risk is mostly around correctness of pagination/linking and rollout via env configuration rather than core security/auth.
Overview
Adds a new feature-flagged cross-chain transactions experience powered by a new
interchainIndexerAPI integration. This introduces/cross-chain-tx/[id]details pages plus cross-chain list views for transactions and token transfers, and wires these into existingTransactions,TokenTransfers, and address-level tx/transfer pages via new routed sub-tabs.Extends configuration and tooling to support the feature: new envs (
NEXT_PUBLIC_CROSS_CHAIN_TXS_ENABLED,NEXT_PUBLIC_INTERCHAIN_INDEXER_API_HOST), validator schema/tests/docs updates, API docs entry, and a newnuminepreset/env. Also adds shared UI building blocks (external-chain entities/links, lifecycle accordion, status tags) and updates some tab/badge behaviors to better handle loading and single-tab layouts.Written by Cursor Bugbot for commit 58c7119. This will update automatically on new commits. Configure here.