https://github.com/vyper-protocol/explorer-link-helper
Helper library to get Solana explorers url for given accounts and transaction
https://github.com/vyper-protocol/explorer-link-helper
explorer solana solana-client
Last synced: about 1 month ago
JSON representation
Helper library to get Solana explorers url for given accounts and transaction
- Host: GitHub
- URL: https://github.com/vyper-protocol/explorer-link-helper
- Owner: vyper-protocol
- Created: 2022-09-03T16:34:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-29T13:39:22.000Z (over 3 years ago)
- Last Synced: 2025-10-27T20:53:31.083Z (7 months ago)
- Topics: explorer, solana, solana-client
- Language: TypeScript
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Explorer Link Helper
Helper library to get Solana explorers url for given accounts and transaction
## Installation
`yarn add @vyper-protocol/explorer-link-helper`
## Support
We currently support the following explorers:
- Solana explorer
- Solscan
- Solana.fm
If you need more contact us or submit a PR
## Usage
```ts
import { getExplorerLink } from "@vyper-protocol/rust-decimal-wrapper";
// https://explorer.solana.com/tx/65VTdMUcxMtLqUsRRif4HDjoM8sTCchE758oVNwF7kJorMZZHrDyJpfwtuyPKt25MuMzUUU9VgoGB14fMBBQnMm4?cluster=devnet
const solana = getExplorerLink("65VTdMUcxMtLqUsRRif4HDjoM8sTCchE758oVNwF7kJorMZZHrDyJpfwtuyPKt25MuMzUUU9VgoGB14fMBBQnMm4", { cluster: "devnet" });
// https://solscan.io/account/TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
const solscan = getExplorerLink("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", { explorer: "solscan" });
```
## Getting Help
Join [our Discord channel](https://discord.gg/CVsFvY9G) and post a message in #developers