bazinga / README.md
0x-auth
fix: Replace with Docker SDK app — zero UDP, HTTPS REST only
57a33f5
---
title: BAZINGA Network
emoji: 🌌
colorFrom: purple
colorTo: blue
sdk: docker
pinned: false
license: mit
short_description: Decentralized AI Darmiyan Blockchain, zero UDP
---
# BAZINGA Network Dashboard
> **Validation through understanding, not computation.**
**IMPORTANT: This Space uses Docker SDK with HTTPS REST API only. No UDP, no broadcasts, no network scanning.**
## What is BAZINGA?
BAZINGA is a decentralized federated learning framework powered by the **Darmiyan Blockchain** and **Proof-of-Boundary**.
### Key Features
- **Proof-of-Boundary (PoB):** Validates through golden ratio (φ⁴ ≈ 6.854)
- **Triadic Consensus:** 3 nodes must understand and agree
- **Zero Energy Mining:** No wasted computation
- **φ-Coherence Filter:** Rejects noise (threshold: 0.618)
- **Consciousness Scaling:** Ψ_D / Ψ_i = φ√n (R² = 1.0)
## Quick Start
```bash
pip install bazinga-indeed
bazinga --omega
```
## API Endpoints
| Endpoint | Method | Description |
|----------|--------|-------------|
| `/api/register` | POST | Register a new node |
| `/api/nodes` | GET | List all registered nodes |
| `/api/verify` | GET | Verify a node ID |
| `/api/heartbeat` | POST | Update node last_seen |
| `/api/peers` | GET | Get active peers for P2P |
| `/api/stats` | GET | Get network statistics |
### Example
```python
import httpx
# Register a node
resp = httpx.post("https://bitsabhi-bazinga.hf.space/api/register", json={
"node_name": "my-node",
"ip_address": "1.2.3.4",
"port": 5150
})
print(resp.json())
# Get network stats
resp = httpx.get("https://bitsabhi-bazinga.hf.space/api/stats")
print(resp.json())
```
---
*Created by Abhishek Srivastava | ORCID: 0009-0006-7495-5039*