A modern, fast, and responsive block explorer for the Hive blockchain, built with SvelteKit and HafSQL. This application connects directly to a HafSQL PostgreSQL database to query real-time blockchain data.
- Real-time Transfer Monitoring: View the latest HIVE and HBD transfers as they happen
- Auto-Polling: Live updates without page refreshes
- Account Filtering: Filter transfers by specific accounts
- Advanced Filtering: Search posts by author, tags, date range, payout, word count, and more
- Author Reputation Filter: Filter by minimum/maximum author reputation
- Image Count Filter: Filter posts by number of images
- Sort Options: Sort by various criteria including payout and date
- Witness Rankings: View top Hive witnesses and their details
- Voting Information: See current witness votes and rankings
- Top Accounts: View the wealthiest Hive accounts
- Balance Breakdown: See HIVE, HBD, and vesting shares
- Community Browser: Explore Hive communities
- Community Stats: View subscriber counts and activity
- Blockchain Statistics: General Hive network statistics
- 🌓 Modern UI: Clean, dark-themed interface built with shadcn-svelte and Tailwind CSS
- 📱 Responsive: Fully optimized for desktop and mobile devices
- ⏱️ Relative Timestamps: Human-readable time formats (e.g., "just now", "5m ago")
- 🔗 Direct Links: Links to accounts and posts on PeakD
- Framework: SvelteKit with Svelte 5
- Styling: Tailwind CSS v4
- UI Components: shadcn-svelte + bits-ui
- Icons: Lucide Svelte
- Database: HafSQL (PostgreSQL)
- Database Client: postgres.js
- Node.js 18+
- npm or pnpm
-
Clone the repository:
git clone https://github.com/gibic/hivetool.git cd hivetool -
Install dependencies:
npm install
-
Configure environment variables:
Copy
.env.exampleto.env:cp .env.example .env
Set your
DATABASE_URLwith the PostgreSQL connection string. You can find connection details for the public HafSQL instance in the HafSQL documentation. -
Start the development server:
npm run dev
-
Open your browser:
Navigate to
http://localhost:5173
npm run build
npm run previewsrc/
├── lib/
│ ├── components/ui/ # shadcn-svelte UI components
│ └── server/ # Database connection & helpers
├── routes/
│ ├── api/ # API endpoints
│ ├── explorer/ # Transfer explorer page
│ ├── posts/ # Posts search page
│ ├── witnesses/ # Witnesses page
│ ├── rich-list/ # Rich list page
│ ├── communities/ # Communities page
│ ├── stats/ # Stats page
│ └── +page.svelte # Home page
└── app.css # Global styles & Tailwind
This project uses the public HafSQL instance provided by @mahdiyari.
- Host:
hafsql-sql.mahdiyari.info - Database:
haf_block_log - User:
hafsql_public - Documentation: HafSQL Docs
Created by @gibic, a Curie curator.
MIT