Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/techtronixx/solana-x-peek
Enhance your X experience with automatic Solana address detection. Adds quick Solscan shortcuts for instant blockchain exploration. Simple, fast, and efficient.
https://github.com/techtronixx/solana-x-peek
extension firefox-extension scan solana wallet web3
Last synced: about 1 month ago
JSON representation
Enhance your X experience with automatic Solana address detection. Adds quick Solscan shortcuts for instant blockchain exploration. Simple, fast, and efficient.
- Host: GitHub
- URL: https://github.com/techtronixx/solana-x-peek
- Owner: TechTronixx
- Created: 2024-11-04T10:48:24.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-04T13:39:46.000Z (3 months ago)
- Last Synced: 2024-12-22T08:14:44.851Z (about 1 month ago)
- Topics: extension, firefox-extension, scan, solana, wallet, web3
- Language: JavaScript
- Homepage:
- Size: 3.95 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Solana-X-Peek---
A lightweight Firefox extension that automatically detects Solana wallet addresses on Twitter/X and converts them into clickable links to Solscan explorer.
## ✨ Features
- 🔍 Real-time scanning of tweets for Solana addresses
- 🔗 Automatic conversion to clickable Solscan links
- 💫 Clean UI with hover animations
- ⚡ Efficient performance with throttled scanning
- 🌐 Works on both Twitter.com and X.com domains## 🚀 How It Works
The extension scans tweet content for Solana wallet addresses using a precise regex pattern. When an address is found, it:
1. Creates an unobtrusive link next to the address
2. Adds the Solscan logo as a visual indicator
3. Opens the wallet details in Solscan site when clicked## 🛠 Technical Implementation
- Uses MutationObserver for dynamic content updates
- Implements throttling to optimize performance
- Maintains processed elements in WeakSet to prevent duplicates
- Handles DOM manipulation carefully to preserve tweet formatting## 📥 Installation
### Firefox Add-ons Store (coming soon)
1. Visit the Firefox Add-ons Store [link to be added]
2. Click "Add to Firefox"
3. Follow the prompts to complete installation### Manual Installation (Developer)
1. Clone this repository
2. Open Firefox and navigate to `about:debugging`
3. Click "This Firefox" in the left sidebar
4. Click "Load Temporary Add-on"
5. Navigate to the extension directory and select `manifest.json`## 📸 Demo
Automatic detection of Solana address in a tweet
![Solana-X-Peek in action](layout-assets/Solanaxpeek-demogif.gif)Solana-X-Peek extension showing clickable Solscan link in action
## 🔒 Privacy & Security
- No data collection or storage
- Works entirely client-side
- Only activates on Twitter/X domains
- Requires minimal permissions## 🔮 Future Improvements
- Support for additional Solana explorers
- Add clipboard copy functionality to address## 📄 License
MIT License - feel free to use and modify as needed.
---
Made with ❤️ for the Solana Community