Ndani

Ndani

Trustless Privacy-Preserving Infrastructure for Machine Economies

Status: research
Repository

Core Team

S
Solomon Kembo
Project Lead

Project Meta

Last Updated 12/11/2024
Editor solomon

Problem

Existing IoT-blockchain systems (IOTA, Helium) allow devices to earn, but payments flow to human-controlled wallets. The device remains an instrument, not an economic agent.

Furthermore, privacy solutions often rely on a trusted gateway to generate proofs. If the gateway is compromised or compelled, privacy is lost.

Solution

Ndani (Swahili for “Inside”) moves the entire trust boundary inside the farmer’s control.

  1. Device-Held Wallets: Keys live in the ATECC608A secure element.
  2. Local Proof Server: Farmer-owned Raspberry Pi 5 generates ZK proofs locally.

Core Concepts Used

ConceptApplication
braceAnonymous device registration
zkpProof of policy compliance
device-walletAutonomous economic agency
trustless-architectureNo-gateway proof generation

Architecture

[Sensor Node] <--- LoRa ---> [Local Pi 5 Proof Server] <--- Internet ---> [Midnight Network]
    |                              |                                           |
(Generates Data)             (Generates Proof)                           (Verifies Proof)

Hardware Stack

Trustless Node (~$163.50)

ComponentFunctionCost
ESP32-S3Sensor Microcontroller$8.00
ATECC608AIdentity + Wallet Keys$2.50
SX1276LoRa Transceiver$6.00
Sensors/PowerEnv + Solar$22.00
Raspberry Pi 5Local Proof Server$80.00
Pi InfraPower + Case + SD$35.00
Total$153.50

Constraints

  • Cost: Higher per-node cost (~$160 vs ~$50) justified by trustlessness.
  • Complexity: Requires managing local server infrastructure.
  • Connectivity: Pi 5 requires internet backhaul.