Real-time dashboard for monitoring Bitcoin network activity, including mempool congestion, OP_RETURN usage, drivechain activity, and BRC-20 token trends.
- Real-time mempool monitoring
- OP_RETURN data tracking
- Drivechain activity monitoring
- BRC-20 token analytics
- 3D Bitcoin visualization
- Light/Dark mode support
- Responsive design
- User authentication with Clerk
- Node.js 18+
- npm/yarn
- A Clerk account for authentication
- Create a Clerk account at https://clerk.dev
- Create a new application in the Clerk dashboard
- Configure your OAuth providers (optional)
- Set up your sign-in/sign-up preferences
- Copy your API keys from the Clerk dashboard
- Clone the repository:
git clone https://github.com/yourusername/bitcoin-netinsights.git
cd bitcoin-netinsights- Install dependencies:
npm install
# or
yarn-
Set up environment variables:
- Copy
.env.exampleto.env.local - Add your Clerk API keys and configuration:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_publishable_key CLERK_SECRET_KEY=your_secret_key
- Copy
-
Run the development server:
npm run dev
# or
yarn dev- Open http://localhost:3000 in your browser
For authentication to work properly:
-
In your Clerk dashboard:
- Configure your allowed domains
- Set up sign-in/sign-up URLs:
- Sign-in URL:
/sign-in - Sign-up URL:
/sign-up - After sign-in URL:
/dashboard
- Sign-in URL:
- Enable the authentication methods you want to support
-
Verify your environment variables match the ones in
.env.example -
Protected routes are configured in
middleware.ts. Adjust the public routes as needed.
/app- Next.js app directory/components- Reusable React components/lib- Utility functions and APIs/contexts- React context providers/dashboard- Main dashboard interface/sign-inand/sign-up- Authentication pages
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to your branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.