Skip to content

Phil-Hills/cube-protocol-spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cube Protocol (v1.0.0) — Starter

Vendor‑neutral, cryptographically verifiable knowledge packets for AI systems and physical/digital transfer (QR, API, file).

Scope (v1.0)

  • Canonical cube string: QRL.VERSION.ID.N.K.HASH.SIGNATURE.PAYLOAD
  • Integrity: SHA‑256 of canonical JSON payload
  • Authenticity: ECDSA (secp256k1) signature over the HASH
  • Payload families: text_to_cube, video_generation, memory_data, knowledge_seed, custom
  • Non‑goals (v1.0): Encryption (planned v2), multi‑sig (v2), revocation registry (v2)

Layout

  • /docs/SPEC.md — human‑readable specification
  • /schemas/ — JSON Schemas + ABNF grammar
  • /sdk/js/ — TypeScript SDK skeleton (encoder/decoder contracts)
  • /tests/ — test vectors and conformance cases

Quickstart

# install (SDK stub)
cd sdk/js
npm i
npm run build

License

MIT — see LICENSE


🛡️ Identity & Compliance

About

No description or website provided.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published