explorer: resolve DuskEVM parent-chain links#286
Draft
HDauven wants to merge 1 commit into
Draft
Conversation
HDauven
marked this pull request as draft
July 19, 2026 19:36
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.
Summary
/tx/<hash>links that resolve adapter-canonical transaction hashes to native Dusk transaction IDs/block/<height-or-hash>links that resolve Dusk block heights before opening the existing block pageThis lets DuskEVM Blockscout use the official Dusk explorer as its parent-chain explorer instead of linking synthetic EVM transaction hashes to an EVM L1 explorer. It consumes
duskevm_getDuskTransactionIdByHash, added in dusk-network/dusk-duskevm-adapter#154.Validation
npm run checks(90 files, 367 tests)VITE_BASE_PATH=/explorer VITE_DUSKEVM_ADAPTER_URL=/duskevm-rpc npm run build0x2f3af4dbbd5a847d8c869a3a85e5707566053fc9fc42f95ad02878a64d61ea6bopened native transactiona27cbf8b4ceae6f456c3d213de820e8b5f2b7f6aeab80a4ce0333fb885cf605a6738resolved through Rusk and rendered the native Dusk block pageDeployment notes
/duskevm-rpcpath to the adapter JSON-RPC endpoint. The production proxy should allow only the read method required here (duskevm_getDuskTransactionIdByHash).Blockscout also constructs parent-chain address links. Generic synthetic 20-byte adapter addresses are not reversibly mappable to arbitrary Dusk accounts, so this PR deliberately does not pretend those links identify a native Dusk account.