Next-generation Web4 Blockchain Intelligence Engine for the MucizeWork ecosystem.
WEB4 Engine is a modular blockchain intelligence platform designed to provide analytics, graph exploration, funding analysis, monitoring, and cryptographic verification services.
The project is designed with a service-oriented architecture to integrate smart contracts, blockchain data, and intelligent analysis engines.
WEB4 ENGINE
+---------------------+
| Developer Portal |
+----------+----------+
|
+--------------------+--------------------+
| | |
REST API SDK Layer CLI Layer
| | |
+--------------------+--------------------+
|
Intelligence Platform
|
+---------------+---------------+---------------+
| | | |
Graph Engine Radar Engine Funding Engine Risk Engine
| | | |
+---------------+-------+-------+---------------+
|
Blockchain Abstraction
|
+-----------------------+------------------------+
| | |
Solana Ethereum Future Chains
|
Smart Contracts
GET /api/v1/health System health + subsystem status
GET /api/v1/graph Wallet cluster graph
GET /api/v1/radar Smart money signals
GET /api/v1/funding/{wallet} Per-wallet funding trace
POST /api/v1/flow Record fund flow
POST /api/v1/hash/sha256 SHA-256 digest
POST /api/v1/sign/verify Signature verification
Enterprise Standards:
X-Request-ID— Request correlationX-Trace-ID— Distributed tracingX-API-Version— Version header (1.0)- Standardized error envelope
- Response envelope:
{ success, request_id, trace_id, timestamp, data }
Auto-generated docs: /docs (Swagger) | /redoc (ReDoc)
web4-engine/
+-- apps/api/ FastAPI gateway (port 5002)
+-- services/ Engine implementations
| +-- graph/ Wallet graph engine
| +-- radar/ Smart money radar
| +-- funding/ Funding trace engine
| +-- signature/ Hash + signature verification
+-- packages/ Shared libraries
| +-- models/ Pydantic models, envelope
| +-- shared/ Config, logger, utilities
+-- programs/ Solana Anchor programs
+-- legacy/ Flask legacy code (reference)
+-- tests/ Integration tests
+-- docs/ Documentation
| +-- adr/ Architecture Decision Records
| +-- rfc/ Request for Comments
| +-- diagrams/ Architecture diagrams
+-- docker/ Container configuration
+-- configs/ Environment configs (YAML)
+-- plugins/ Data provider plugins
+-- sdk/ Client SDKs
+-- cli/ Command-line interface
+-- infra/ Infrastructure (k8s, helm, terraform)
+-- .github/ CI/CD, templates, labels
git clone https://github.com/yunKALKAN/web4-engine.git
cd web4-engine
pip install -r requirements.txt
uvicorn apps.api.main:app --port 5002Visit http://127.0.0.1:5002/docs for Swagger UI.
pip install -r requirements-dev.txt
# Run tests
pytest tests/ -v
# Lint
ruff check .
black --check .
# Security scan
bandit -r apps/ services/ packages/ -lldocker build -f docker/Dockerfile -t web4-engine .
docker run -p 5002:5002 web4-engine- Anchor Build, IDL, Tests
- API Contract v1 (Frozen)
- FastAPI migration
- Enterprise standards (X-Request-ID, X-Trace-ID, envelope)
- Docker + CI/CD
- 23 integration tests
- Documentation suite
- Graph Engine v2
- Radar Engine v2
- Funding Engine v2
- Risk Engine
- React Admin Panel
- Kubernetes, monitoring, v1.0.0
| Document | Description |
|---|---|
| ARCHITECTURE.md | Platform architecture |
| API.md | API reference |
| ENGINEERING_CONSTITUTION.md | Engineering principles |
| ROADMAP.md | Development roadmap |
| SECURITY.md | Security policy |
| DEPLOYMENT.md | Deployment guide |
| CONTRIBUTING.md | Contribution guidelines |
| CHANGELOG.md | Version history |
| docs/adr/ | Architecture Decision Records |
| docs/rfc/ | Request for Comments |
| ORGANIZATION.md | Platform organizational structure |
- Backend: Python, FastAPI, Pydantic v2, Uvicorn
- Blockchain: Rust, Anchor, Solana
- Frontend: TypeScript, Node.js, React (planned)
- Infrastructure: Docker, GitHub Actions, Kubernetes (planned)
- Security: SHA-256, Ed25519, JWT
- Observability: Structured JSON logging, request tracing
See ENGINEERING_CONSTITUTION.md for the full engineering constitution.
- Modularity over monoliths
- Documentation over assumptions
- Interfaces over coupling
- Testing over guessing
- Observability over opacity
- Security by design
- Open standards over vendor lock-in
See CONTRIBUTING.md.
MIT License — See LICENSE.
MucizeWork
Web4 Blockchain Intelligence Platform
Build Secure.
Analyze Smart.
Scale Together.