feat: add TxnExplorerLink component for direct Solana Explorer links #191
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 pull request introduces a new reusable UI component for linking directly to Solana transaction details on the Solana Explorer. The
TxnExplorerLinkbutton is now available for use, and the documentation and registry have been updated to support and showcase this component.New Component Addition
TxnExplorerLinkReact component incomponents/ui/murphy/Txn-Feedback/txn-explorer-link.tsx, providing a customizable button that opens a transaction on Solana Explorer in a new tab. It supports cluster selection, button variants, sizes, icons, and custom content.Documentation and Registry Integration
content/docs/onchainkit/Txn-Feedback/txn-explorer-link.mdxwith usage examples, props table, customization guides, and explorer feature explanations.public/r/txn-explorer-link.json,registry/components/txn-explorer-link.json, and added it to the main registry inregistry.jsonfor discoverability and installation. [1] [2] [3]content/docs/onchainkit/meta.jsonto include the new "Txn-Feedback" section.Exports and Imports
TxnExplorerLinkfrom the Murphy UI index (components/ui/murphy/index.tsx) for easy import throughout the codebase. [1] [2]These changes make it simple for developers to add direct Solana Explorer links for transaction feedback in their applications.