Skip to content

Overview

REST API for ZenTalk’s distributed mesh storage network.

The ZenTalk Node API provides access to distributed mesh storage, network information, and node management. All data is encrypted using AES-256-GCM before storage and distributed across multiple nodes using Reed-Solomon erasure coding for fault tolerance.

Features

  • Distributed Storage: Store data across multiple nodes with redundancy
  • End-to-End Encryption: AES-256-GCM encryption with key derivation from Ethereum wallets
  • Fault Tolerance: Reed-Solomon erasure coding allows recovery from partial node failures
  • Authentication: Ethereum wallet signatures for secure access control
  • Rate Limiting: Built-in protection against abuse

Information

  • License: Proprietary - ZentaChain, all rights reserved
  • OpenAPI version: 3.0.3

Mesh JWT in the Authorization header. This is the primary credential of the node API and the only one DELETE /storage/delete/… accepts.

Handlers that are scoped to one address compare the address in the token against the address in the request, hash-aware, so a 0x… token is accepted for the zh1_… storage form of the same address.

Authorization: Bearer eyJhbGciOi...

A node that has an issuer configured but holds no issuer keys answers 503 with Retry-After: 30 for any token naming a kid, so that a client fails over to another mesh node instead of reading an auth failure (JWKSAvailabilityGate, pkg/meshstorage/api/jwt_dual.go).

Security scheme type: http

Bearer format: JWT

Ethereum wallet signature authentication. Requires X-Signature and X-Timestamp headers.

Message Format: zentalk:mesh:upload:<userAddr>:<chunkID>:<timestamp>

Example:

X-Signature: 0xabc123...
X-Timestamp: 1702234567

Security scheme type: apiKey

Header parameter name: X-Signature