Overview
This section is for developers who want to contribute code to the Have I Been Drained? project. If you’re looking to use the API or integrate it into your application, see the Developer Guide instead.Local Setup
Set up your local development environment.
Contributing Guide
Learn how to contribute to the project.
Quick Start
Prerequisites:
- Node.js version 19 or higher (or Bun v1.2+)
- Docker and Docker Compose
- Solana CLI (for Anchor development)
- Anchor v0.32.1+
Project Structure
packages
anchor
api
frontend
shared
docker-compose.yml
package.json
docs
Development Workflow
- Start infrastructure:
docker compose up -d - Run API in watch mode:
cd packages/api && bun run dev - Run frontend in watch mode:
cd packages/frontend && bun run dev - Build Anchor program:
cd packages/anchor && anchor build