Skip to content

fix(statics): add account explorer url for near#8620

Merged
akarath merged 1 commit intomasterfrom
fix/statics-near-account-explorer-url
Apr 24, 2026
Merged

fix(statics): add account explorer url for near#8620
akarath merged 1 commit intomasterfrom
fix/statics-near-account-explorer-url

Conversation

@akarath
Copy link
Copy Markdown
Contributor

@akarath akarath commented Apr 23, 2026

TICKET: CSHLD-684

Description

NEAR mainnet and testnet networks were missing accountExplorerUrl, which is used to generate the explorer link on the network gas tanks page. Without it, clicking the explorer link next to NEAR didn't work.

Added:

  • accountExplorerUrl = 'https://nearblocks.io/address/' for mainnet
  • accountExplorerUrl = 'https://testnet.nearblocks.io/address/' for testnet

Follows the same pattern as PR #8075 which added accountExplorerUrl for Sui and Ada.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Unit tests added for Near network explorer URLs in modules/statics/test/unit/networks.ts, matching the pattern of existing Sui and Ada tests.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have added tests that prove my fix is effective

@akarath akarath requested a review from a team as a code owner April 23, 2026 10:18
Add accountExplorerUrl for Near mainnet and testnet networks so that
the explorer link on the gas tanks page resolves correctly.

Ticket: CSHLD-684

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@akarath akarath force-pushed the fix/statics-near-account-explorer-url branch from c3aae50 to 761f39c Compare April 24, 2026 07:50
Copy link
Copy Markdown
Contributor

@rohitsaw115 rohitsaw115 left a comment

Choose a reason for hiding this comment

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

LGTM

@akarath akarath merged commit 3def0df into master Apr 24, 2026
22 checks passed
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.

2 participants