You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Start all services
docker compose up -d
# Build the project
mkdir build &&cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
make -j$(nproc)# Run tests
ctest --output-on-failure
# Run specific tests
ctest -R "core_tests" --output-on-failure
Docker Services
Service
Purpose
Port
Status
PostgreSQL
Persistent blockchain data
5432
Ready
Redis
Caching layer for explorer
6379
Ready
chainforge-node
Full node service
8080, 8545
Building
chainforge-explorer
Blockchain explorer API
8081, 4000
Building
Prometheus
Metrics collection
9090
Ready
Grafana
Metrics visualization
3000
Ready
Jaeger
Distributed tracing
16686
Ready
Architecture
Core Modules
┌─────────────────────────────────────────────────────────────┐
│ ChainForge System │
├─────────────────────────────────────────────────────────────┤
│ Explorer API │ Node Service │ Tools Service │
├─────────────────────────────────────────────────────────────┤
│ RPC Server │ P2P Network │ Consensus │
├─────────────────────────────────────────────────────────────┤
│ Execution │ Storage │ Core Models │
├─────────────────────────────────────────────────────────────┤
│ Crypto │ Mempool │ Metrics │
└─────────────────────────────────────────────────────────────┘
# Code formatting
make format
# Linting
make lint
# Testing
make test# Docker operations
make docker-up
make docker-down
make docker-logs
# Security checks
make security-check
# SBOM generation
make sbom
# Clone repository
git clone https://github.com/Skpow1234/ChainForge.git
cd ChainForge
# Install dependencies
make install-deps
# Build project
make build
# Run tests
make test# Code quality checks
make lint
make format