Skip to content

kootaeho/DEX-

Repository files navigation

Bitcoin DEX (Decentralized Exchange)

⚠️ Development Project - Not Production Ready
This is an educational/research implementation of a Bitcoin-based DEX. See SECURITY.md for important security considerations.

Bitcoin DEX implementation with TypeScript/Next.js frontend and Node.js services.

Structure

dex/
├─ apps/              # Applications
│  ├─ web/           # Next.js frontend
│  ├─ api/           # HTTP/WS API server
│  ├─ matcher/       # Order matching engine
│  └─ notifier/      # Notifications service
├─ packages/         # Shared packages
│  ├─ wallet-sdk/    # Wallet integration SDK
│  ├─ psbt-kit/      # PSBT utilities
│  ├─ shared/        # Common types/events
│  └─ ui/            # UI components
├─ services/         # Infrastructure
│  ├─ bitcoind/      # Local Bitcoin node
│  ├─ indexer/       # UTXO indexer
│  └─ redis/         # Queue/cache
├─ docs/            # Documentation
└─ scripts/         # Build/test scripts

Getting Started

  1. Install pnpm:
npm install -g pnpm
  1. Install dependencies:
pnpm install
  1. Start services:
cd services/bitcoind && docker-compose up -d
cd ../redis && docker-compose up -d
  1. Start development:
pnpm dev

Documentation

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors