Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/natureloved/HashPilot/llms.txt

Use this file to discover all available pages before exploring further.

HashPilot is a Next.js 14 App Router application. Running it locally requires Node.js 18 or later and an Anthropic API key for AI features. The dashboard and static analytics work immediately after install — AI-powered tools activate once you add your key.
Node.js 18 or later is required. Check your version with node --version before proceeding.

Setup steps

1

Clone the repository

Pull the HashPilot source from GitHub.
git clone https://github.com/natureloved/HashPilot.git
cd HashPilot
2

Install dependencies

Install all npm packages. This includes Next.js, the Anthropic SDK, Wagmi, RainbowKit, and the rest of the stack.
npm install
3

Configure your environment

Create a .env.local file in the project root and add your Anthropic API key.
.env.local
ANTHROPIC_API_KEY=your_api_key_here
Never commit .env.local to version control. It is already listed in .gitignore by default in Next.js projects — verify this before pushing.
If you do not have a key yet, see Configure your Anthropic API key for step-by-step instructions on obtaining one.
4

Start the development server

Run the local dev server. The terminal will be available at http://localhost:3000.
npm run dev

What works without an API key

Some features are fully functional without ANTHROPIC_API_KEY set. Others will return an error until the key is configured.

Works immediately

  • Tactical Dashboard (live hCASH price, network status, claim cycle)
  • Claim Advisor analysis and verdict UI
  • Halving Tracker and ROI Calculator
  • Miner Archetypes assessment
  • FOMO Machine counterfactual inputs

Requires API key

  • AI Strategy Chat (/api/chat)
  • Oracle scenario readings (/api/oracle)
  • FOMO Machine narrative debrief (/api/fomo-story)
  • Daily Intel Digest on Dashboard (/api/digest)
When an AI feature is called without a valid key, the API returns:
{ "error": "API configuration missing. Please set ANTHROPIC_API_KEY." }

Available scripts

ScriptCommandDescription
Developmentnpm run devStarts Next.js dev server with hot reload
Production buildnpm run buildCompiles and optimizes for production
Production servernpm run startServes the compiled build
Lintnpm run lintRuns Next.js ESLint checks

Next steps

Get an API key

Create your Anthropic account and configure the key for AI features.

Deploy to production

Push HashPilot to Vercel or another Next.js-compatible host.

Build docs developers (and LLMs) love