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โ
- URL: http://localhost:3001
- Database: PostgreSQL (treasury schema)
- Features: Full treasury management
DEX Platformโ
- URL: http://localhost:3002
- Database: PostgreSQL (dex schema)
- Features: Trading, order books
Mining Poolโ
- URL: http://localhost:3003
- Stratum: localhost:3333
- Database: PostgreSQL (pool schema)
Unified APIโ
- URL: http://localhost:3004
- Features: Cross-platform API gateway
๐ฑ 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.