Збережено в:
Бібліографічні деталі
Автор: Krill2026
Формат: Recurso digital
Мова:
Опубліковано: Zenodo 2026
Онлайн доступ:https://doi.org/10.5281/zenodo.18627552
Теги: Додати тег
Немає тегів, Будьте першим, хто поставить тег для цього запису!
Зміст:
  • <div dir="auto"> <h1>KRILL — Bio-Inspired Architecture for IoT Consensus</h1> <a href="https://github.com/stronablockchain/krill-bia/blob/main/README.md#krill--bio-inspired-architecture-for-iot-consensus"></a></div> <blockquote> <p dir="auto">Decentralized IoT consensus without blockchain — inspired by ant colonies, immune systems & chemical diffusion.</p> </blockquote> <div dir="auto"> <h2>What is KRILL?</h2> <a href="https://github.com/stronablockchain/krill-bia/blob/main/README.md#what-is-krill"></a></div> <p dir="auto"><strong>The problem:</strong> Blockchain doesn't work for IoT. It's too heavy, too slow, and too expensive for devices running on batteries with 32KB of RAM. IoT needs to answer "What is the physical state of the world?" — not "Who has how much money?"</p> <p dir="auto"><strong>The solution:</strong> KRILL replaces blockchain with 9 mechanisms borrowed from biology:</p> <table> <thead> <tr> <th>Mechanism</th> <th>Biological inspiration</th> <th>What it does</th> </tr> </thead> <tbody> <tr> <td>Stigmergic Consensus</td> <td>Ant pheromone trails</td> <td>Nodes "deposit" readings like ants deposit pheromones. Truth emerges from convergence, not voting.</td> </tr> <tr> <td>Pentastratic Immune System</td> <td>Human immune layers</td> <td>5-layer anomaly detection: skin (format check) → innate (statistical) → adaptive (learned) → NK audit → autoimmune suppression.</td> </tr> <tr> <td>Metabolic State</td> <td>Cell metabolism</td> <td>Data has a "half-life" — old readings decay and die automatically. No infinite ledger.</td> </tr> <tr> <td>Entropic Data Valuation</td> <td>Thermodynamic entropy</td> <td>Network autonomously decides which data is worth storing based on information theory.</td> </tr> <tr> <td>Quorum Sensing</td> <td>Bacterial quorum sensing</td> <td>Nodes detect local density and switch modes (solo → quorum → swarm) without any coordinator.</td> </tr> <tr> <td>Horizontal Gene Transfer</td> <td>Bacterial gene sharing</td> <td>Firmware updates spread node-to-node like genes between bacteria. No update server needed.</td> </tr> <tr> <td>Morphogenetic Topology</td> <td>Embryonic development</td> <td>Network self-organizes its topology using reaction-diffusion (Turing patterns).</td> </tr> <tr> <td>Thymic Tolerance</td> <td>T-cell training in thymus</td> <td>System learns what "normal" looks like to avoid false alarms.</td> </tr> <tr> <td>Immunological Memory</td> <td>Vaccine/antibody memory</td> <td>Once the network detects an attack pattern, it "vaccinates" all nodes.</td> </tr> </tbody> </table> <p dir="auto"><strong>The result:</strong></p> <ul> <li><strong>1000x less energy</strong> than blockchain consensus</li> <li>Runs on a <strong>$2 ESP32</strong> microcontroller (240KB RAM)</li> <li>Works with <strong>intermittent connectivity</strong> (mesh, BLE, LoRa, WiFi)</li> <li><strong>No miners, no staking, no tokens</strong> — consensus is grounded in physical reality</li> <li>Scales to <strong>millions of nodes</strong> without coordinator</li> </ul> <p dir="auto"><strong>Status:</strong> Research paper + engineering specification. No working implementation yet.</p> <div dir="auto"> <h2>Documents</h2> <a href="https://github.com/stronablockchain/krill-bia/blob/main/README.md#documents"></a></div> <table> <thead> <tr> <th>Document</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="https://github.com/stronablockchain/krill-bia/blob/main/KRILL-BIA-Research-Paper.html">Research Paper (HTML)</a></td> <td>Full academic paper — mathematical formalizations, energy analysis, novelty assessment, risk analysis. 20 sections. Open in browser → Print → Save as PDF.</td> </tr> <tr> <td><a href="https://github.com/stronablockchain/krill-bia/blob/main/KRILL-BIA-Engineering-Spec.html">Engineering Specification (HTML)</a></td> <td>Implementation reference — byte-level wire formats, state machines, pseudocode, test vectors, transport layers. Ready to code from.</td> </tr> </tbody> </table> <p dir="auto">Source files (Markdown):</p> <ul> <li><a href="https://github.com/stronablockchain/krill-bia/blob/main/krill-bioinspired-architecture.md"><code>krill-bioinspired-architecture.md</code></a> — Research paper</li> <li><a href="https://github.com/stronablockchain/krill-bia/blob/main/krill-bia-engineering-spec.md"><code>krill-bia-engineering-spec.md</code></a> — Engineering spec</li> </ul> <div dir="auto"> <h2>Architecture at a Glance</h2> <a href="https://github.com/stronablockchain/krill-bia/blob/main/README.md#architecture-at-a-glance"></a></div> <div> <pre><code>┌─────────────────────────────────────────────────────────┐ │ KRILL Node (ESP32) │ ├──────────┬──────────┬──────────┬──────────┬─────────────┤ │ Stigmer- │ Immune │ Metabolic│ Quorum │ Morpho- │ │ gic │ System │ State │ Sensing │ genetic │ │ Consensus│ (5-layer)│ (decay) │ (modes) │ Topology │ ├──────────┴──────────┴──────────┴──────────┴─────────────┤ │ Transport: BLE mesh / WiFi / LoRa │ ├─────────────────────────────────────────────────────────┤ │ PUF Identity + Ed25519 Enrollment │ └─────────────────────────────────────────────────────────┘ </code></pre> <div> </div> </div> <div dir="auto"> <h2>MVP — Where to Start</h2> <a href="https://github.com/stronablockchain/krill-bia/blob/main/README.md#mvp--where-to-start"></a></div> <p dir="auto">If you want to implement KRILL, start with these 4 subsystems (the rest can be added later):</p> <ol> <li><strong>ES-13</strong> — Cryptographic enrollment (PUF + Ed25519 identity)</li> <li><strong>ES-12</strong> — Transport layer (BLE mesh for local, WiFi for bridging)</li> <li><strong>ES-1</strong> — Core data types and wire formats</li> <li><strong>ES-3</strong> — Stigmergic Consensus (the core algorithm)</li> <li><strong>ES-10</strong> — Main event loop and message dispatch</li> </ol> <p dir="auto">Target hardware: <strong>ESP32</strong> (Nano node) + <strong>nRF52840</strong> (Dust node, optional)</p> <div dir="auto"> <h2>Why Not Blockchain?</h2> <a href="https://github.com/stronablockchain/krill-bia/blob/main/README.md#why-not-blockchain"></a></div> <table> <thead> <tr> <th> </th> <th>Blockchain (e.g. Ethereum)</th> <th>KRILL-BIA</th> </tr> </thead> <tbody> <tr> <td><strong>Consensus energy</strong></td> <td>~50 Wh/tx (PoW) or ~0.01 Wh/tx (PoS)</td> <td>~0.00001 Wh/tx</td> </tr> <tr> <td><strong>Minimum RAM</strong></td> <td>512MB+</td> <td>32KB (Dust), 240KB (Nano)</td> </tr> <tr> <td><strong>State growth</strong></td> <td>Infinite (append-only)</td> <td>Bounded (data decays)</td> </tr> <tr> <td><strong>Offline tolerance</strong></td> <td>Minutes before fork</td> <td>Days (pheromone half-life)</td> </tr> <tr> <td><strong>Hardware cost</strong></td> <td>$50+ SBC</td> <td>$2 ESP32</td> </tr> <tr> <td><strong>Finality</strong></td> <td>Probabilistic (blocks)</td> <td>Convergent (pheromone field)</td> </tr> </tbody> </table> <div dir="auto"> <h2>Key Innovation: Physical-World Consensus Grounding</h2> <a href="https://github.com/stronablockchain/krill-bia/blob/main/README.md#key-innovation-physical-world-consensus-grounding"></a></div> <p dir="auto">Unlike blockchain where consensus is purely computational, KRILL grounds consensus in <strong>physical reality</strong>:</p> <ul> <li>Sensor readings must be <strong>physically plausible</strong> (a thermometer can't jump 50C in 1 second)</li> <li>Nodes that are <strong>physically closer</strong> have more weight (radio signal strength = distance proxy)</li> <li>The <strong>laws of physics</strong> constrain what values are possible — this is a defense layer that doesn't exist in financial systems</li> </ul> <p dir="auto">This means an attacker must not only compromise the software but also <strong>defeat physics</strong> — a fundamentally harder problem.</p> <div dir="auto"> <h2>Contributing</h2> <a href="https://github.com/stronablockchain/krill-bia/blob/main/README.md#contributing"></a></div> <p dir="auto">See <a href="https://github.com/stronablockchain/krill-bia/blob/main/CONTRIBUTING.md">CONTRIBUTING.md</a> for how to get involved.</p> <p dir="auto">Areas where help is most needed:</p> <ul> <li><strong>Rust/C firmware</strong> for ESP32 (core protocol implementation)</li> <li><strong>Simulation</strong> — model pheromone convergence with 100-10,000 virtual nodes</li> <li><strong>Hardware testing</strong> — BLE mesh range, LoRa timing, PUF enrollment on real chips</li> <li><strong>Security review</strong> — formal verification of immune system thresholds</li> <li><strong>Documentation</strong> — diagrams, tutorials, translations</li> </ul> <div dir="auto"> <h2>License</h2> <a href="https://github.com/stronablockchain/krill-bia/blob/main/README.md#license"></a></div> <p dir="auto">This project is licensed under the <a href="https://github.com/stronablockchain/krill-bia/blob/main/LICENSE">MIT License</a>.</p> <div dir="auto"> <h2>Supporting This Work</h2> <a href="https://github.com/stronablockchain/krill-bia/blob/main/README.md#supporting-this-work"></a></div> <p dir="auto">If KRILL is useful to your research or organization, consider supporting further development:</p> <p dir="auto"><strong>ETH / ERC-20 / Base / Arbitrum / Polygon:</strong></p> <div> <pre><code>0x0BC290355c0B16B5B247701B7BC9AB2E1e61ffa7 </code></pre> <div> </div> </div> <p dir="auto">Funds go toward:</p> <ul> <li>Reference firmware for ESP32 + nRF52840</li> <li>Hardware test beds (100-node BLE mesh)</li> <li>Independent security audits</li> <li>Bug bounty program for protocol vulnerabilities</li> </ul> <p dir="auto">Code contributions are equally welcome — see <a href="https://github.com/stronablockchain/krill-bia/blob/main/CONTRIBUTING.md">CONTRIBUTING.md</a>.</p>