Skip to main content

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+
For detailed setup instructions, see the Local Setup guide.

Project Structure

packages
docker-compose.yml
package.json
docs

Development Workflow

  1. Start infrastructure: docker compose up -d
  2. Run API in watch mode: cd packages/api && bun run dev
  3. Run frontend in watch mode: cd packages/frontend && bun run dev
  4. Build Anchor program: cd packages/anchor && anchor build

Resources