Skip to main content

Complete Regtest Environment Setup

Comprehensive guide for setting up the complete BLGV regtest development environment with all services.

๐Ÿณ Docker Environmentโ€‹

Prerequisitesโ€‹

  • Docker and Docker Compose installed
  • 16GB+ RAM recommended
  • 100GB+ free disk space

Launch Complete Environmentโ€‹

# Clone repository
git clone https://github.com/BlockSavvy/Unified-Treasury-System.git
cd Unified-Treasury-System/regtest-ecosystem

# Start all services
docker-compose up -d

# Verify services
docker-compose ps

โš™๏ธ Service Configurationโ€‹

Bitcoin Core (Regtest)โ€‹

  • Port: 18443 (RPC), 18444 (P2P)
  • User: bitcoin
  • Password: bitcoin
  • Network: regtest

Lightning Network (LND)โ€‹

  • Port: 10009 (gRPC), 8080 (REST)
  • Network: regtest
  • Auto-pilot: enabled

BTCPay Serverโ€‹

  • Port: 14142
  • Network: regtest
  • Store: auto-configured

๐Ÿ”ง Platform Servicesโ€‹

Treasury Platformโ€‹

DEX Platformโ€‹

Mining Poolโ€‹

Unified APIโ€‹

๐Ÿ“ฑ Mobile Developmentโ€‹

Device Configurationโ€‹

# Get your IP address
ip addr show | grep inet

# Update mobile app config
EXPO_PUBLIC_API_BASE_URL=http://YOUR_IP:3004

Need help? Check our Mobile Regtest Integration guide.