⚠️ 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.
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
- Install pnpm:
npm install -g pnpm- Install dependencies:
pnpm install- Start services:
cd services/bitcoind && docker-compose up -d
cd ../redis && docker-compose up -d- Start development:
pnpm dev