Introduction
Raiznet is a decentralized network for crop monitoring and collective agricultural intelligence. It is part of Arateki's SafraSense product. Data flows from ESP32 sensors installed in growing towers to a mesh of server nodes, and can be read by any member of the network — with or without their own node. Nodes are designed to sync with each other peer-to-peer; see the Roadmap for what is implemented today versus in design.
Beyond monitoring, Raiznet is designed as a research-grade data infrastructure. Every reading is signed, tamper-evident, geolocated, and linked to a planting outcome. Over time, this creates a collective dataset that LLMs and researchers can turn into actionable knowledge: better crop parameters, regional calibrations, and scientific publications — owned by no one, available to everyone. See Collective Intelligence for the full vision.
Non-negotiable principles
- Local-first. The network works without internet. An ESP32 and a laptop on the same Wi-Fi are already a valid Raiznet.
- Data sovereignty. The user owns the keys. If Arateki disappears tomorrow, the grower's data stays alive in their node.
- No traditional login. Identity is an Ed25519 keypair generated on the client. There is no central authentication server.
- Device ID is always public. The only information guaranteed public is the existence of a device in the network — its pubkey, MAC, and basic metadata. Everything else has an individual visibility policy defined by the owner.
- Private data is local data. What is marked as public is eligible for replication across the network. What is marked as private stays in local storage — it never leaves the owner's infrastructure.
- Public or local network. The public Raiznet is the global mesh of public nodes. A "private network" is a local network: the server doesn't announce itself, it only accepts LAN connections.
- Writes are always signed. Reading is a consequence of belonging to the network. Writing requires the private key of the emitting device — prevents spam without depending on central permission.
- Server is optional. Nobody is required to run a node. But whoever does strengthens the network.
What Raiznet is not
- A cloud service. There is no Raiznet-operated server you must trust.
- A blockchain. There is no global consensus, no mining, no tokens.
- A traditional IoT platform. There is no vendor lock-in, no required API key, no usage limits.
Part of SafraSense
Raiznet is the open protocol and network layer of SafraSense. The production firmware for Arateki hardware lives in a separate repository. This repository contains:
- The protocol specification and wire format (this site)
- The Node.js server implementation
- The reference ESP32 firmware (
firmware/) - The CLI for operations and debugging