Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 days 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 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-29T13:39:22.000Z (almost 2 years ago)
- Last Synced: 2024-12-14T16:39:08.072Z (8 days ago)
- Topics: explorer, solana, solana-client
- Language: TypeScript
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- 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.fmIf 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