YAKMESH is a high-resiliency, decentralized networking layer designed for the 2026 threat landscape. Built with quantum-resistant cryptography at its core and anchored by PCIe atomic timing synchronization, YAKMESH provides a "sturdy" substrate for distributed systems that cannot afford to fail.
In an era where traditional ECDSA is increasingly vulnerable and network jitter can desynchronize global state, YAKMESH offers a three-pillar solution:
🌿 Yielding Resilience: A self-healing mesh topology that adapts to node failure and adversarial interference without central authority.
⚛️ Atomic Precision: Integrated support for PCIe atomic clock hardware, enabling hardware timestamping with support for high-precision time sources for low-latency synchronization.
🔐 Quantum Hardened: Fully compatible with Project Zond and the QRL (Quantum Resistant Ledger) ecosystem, utilizing stateless lattice-based signatures (ML-DSA) from Genesis.
| Letter | Principle | Description |
|---|---|---|
| Y | Yielding | Not brittle; flexible enough to absorb network shocks |
| A | Atomic | Grounded in the absolute truth of physical time |
| K | Kernel | The essential, innermost part of the secure stack |
| M | Modular | Swap out encryption primitives or transport layers as tech evolves |
| E | Encryption | Privacy and integrity by default |
| S | Secured | Hardened against both classical and quantum vectors |
| H | Hub | A nexus for decentralized data and peer-to-peer logic |
- 🔒 Post-Quantum Secure - ML-DSA-65 (NIST FIPS 204) signatures
- 🔮 Self-Verifying Oracle - Deterministic validation without external trust
- 🌐 Mesh Networking - P2P WebSocket communication with gossip protocol
- ⏱️ Precision Timing - Support for atomic clocks, GPS, PTP, NTP
- 🔌 Plugin Architecture - Adapters for any database or API
- 🛡️ Phase Modulation - Time-based anti-replay protection
- 🌍 Geographic Exclusion - Speed-of-light physics prove where nodes CANNOT be
Identity & Trust:
- 🧭 NAMCHE Gateway - 7-gate mathematical verification (no CA required)
- 📜 DOKO Identity - Self-sovereign identity documents verified by mesh
- 🏆 Trust Tiers - ORACLE/ANCHOR/SENTINEL/PARTICIPANT hierarchy
- 🔬 Hardware Attestation - AES-NI timing proves real silicon
- ⚖️ Silicon Parity - "One silicon = one vote" anti-farm defense
⚠️ Strike System - Three strikes with hardware fingerprint tracking
Networking:
- 🏔️ SHERPA Discovery - Decentralized peer discovery via public web beacons
- 🎒 NAKPAK Routing - Post-quantum onion routing for anonymity
- 🔐 ANNEX Channels - ML-KEM768 encrypted P2P with perfect forward secrecy
- 🔗 YAK:// Protocol - Mesh-native URL scheme with bookmarks
Advanced:
- 🌍 Geographic Proof - Speed-of-light exclusion zones
- 🕵️ Sybil Detection - Graph analysis for fake identity clusters
- 📡 ECHO Ranging - Privacy-preserving topology discovery
- 💓 PULSE Heartbeat - Liveness detection and partition recovery
- 🚨 BEACON Alerts - Priority emergency broadcast
npm install yakmeshimport { YakmeshNode } from 'yakmesh';
const node = new YakmeshNode({
node: { name: 'My Node' },
network: { httpPort: 3000, wsPort: 9001 },
});
await node.start();# Initialize a new node
npx yakmesh init
# Start the node
npx yakmesh start
# Check status
npx yakmesh statusFull documentation available at yakmesh.dev
yakmesh/
├── security/ # NAMCHE gateway, DOKO identity, trust models
│ ├── namche-gateway.js # 7-gate verification
│ ├── doko-identity.js # Self-sovereign identity
│ ├── hybrid-trust.js # Multi-factor trust scoring
│ ├── tls-binding.js # mTLS certificate binding
│ ├── domain-consensus.js # Mesh-verified domains
│ └── geo-proof.js # Speed-of-light geographic exclusion
├── oracle/ # Self-verifying validation engine
├── mesh/ # WebSocket P2P networking
│ ├── sherpa-discovery.js # Decentralized peer discovery
│ ├── nakpak-routing.js # Onion routing
│ └── annex-channel.js # Encrypted P2P channels
├── gossip/ # Epidemic-style message propagation
├── adapters/ # Platform integration plugins
├── webserver/ # Embedded Caddy web server
└── server/ # HTTP/WS server
Each YAKMESH network has a unique identity derived from configurable salts:
import { setIdentityConfig } from 'yakmesh/oracle/network-identity.js';
setIdentityConfig({
networkPrefix: 'my', // Network ID prefix
identitySalt: 'my-app-v1', // Unique network salt
});
// Different salt = different network (cannot interoperate)| Level | Source | Tolerance | Oracle Capable |
|---|---|---|---|
| ATOMIC | PCIe atomic clock | ±100ms | ✅ Yes |
| GPS | GPS with PPS | ±500ms | ✅ Yes |
| PTP | IEEE 1588 (Meinberg) | ±500ms | |
| NTP | Standard NTP | ±5000ms | ❌ No |
Create custom adapters by extending BaseAdapter:
import { BaseAdapter } from 'yakmesh/adapters/base-adapter.js';
class MyAdapter extends BaseAdapter {
async init() { /* Connect to your database */ }
getSchema() { return { tables: ['users', 'orders'] }; }
async fetchChanges(since) { /* Return changed records */ }
async applyChange(table, record, op) { /* Write to database */ }
}@yakmesh/adapter-peerquanta- PeerQuanta phpBB marketplace
Custom URL protocol for mesh-native addressing. Escape HTTP entirely!
# Built-in routes
yak://dashboard # Node dashboard
yak://peers # Connected peers
yak://content/<hash> # Content by hash
# Personal bookmarks (pet names)
yakmesh bookmark add alice /site/alice-homepage
yak://alice # Opens your bookmarkShare bookmark lists between nodes via gossip protocol:
import { getRemoteBookmarkSync } from 'yakmesh/protocol/yak-protocol';
const sync = getRemoteBookmarkSync({ nodeId: 'my-node' });
// Subscribe to another node's bookmarks
sync.subscribe('trusted-node-id');
// Publish your bookmarks to the mesh
sync.publish('my-bookmarks', ['project', 'docs', 'friends']);
// Resolve remote bookmarks
sync.resolveRemote('alice'); // Returns target from subscribed nodeKey compromise recovery with self-revocation and emergency "break-glass" certificates:
import { DOKORevocation, REVOCATION_REASONS } from 'yakmesh/security/doko-identity';
const revocation = new DOKORevocation({ generator, nodeId });
// Normal self-revocation
const cert = revocation.revoke(dokoId, REVOCATION_REASONS.KEY_COMPROMISED, privateKey);
// Emergency revocation (primary key compromised, use backup)
const emergencyCert = revocation.createEmergencyCertificate(
dokoId,
REVOCATION_REASONS.KEY_COMPROMISED,
backupPrivateKey
);
// Check revocation status
revocation.isRevoked(dokoId); // trueRevocation Reasons:
KEY_COMPROMISED- Private key was exposedDOKO_SUPERSEDED- Replaced with new identityIDENTITY_RETIRED- No longer in useLOST_ACCESS- Cannot access keysAFFILIATION_ENDED- Organization membership ended
| Endpoint | Method | Description |
|---|---|---|
/health |
GET | Node health status |
/node |
GET | Node identity info |
/peers |
GET | Connected peers |
/oracle/status |
GET | Oracle integrity check |
/network/identity |
GET | Network identity (hash obfuscated) |
/time/status |
GET | Time source detection |
/time/capabilities |
GET | Time oracle eligibility |
/connect |
POST | Connect to a peer |
/bookmarks |
GET | List local bookmarks |
/bookmarks |
POST | Add a bookmark |
/bookmarks/:name |
DELETE | Remove a bookmark |
/bookmarks/remote |
GET | List remote bookmarks |
/bookmarks/remote/subscribe |
POST | Subscribe to node |
/bookmarks/remote/publish |
POST | Publish bookmark list |
/bookmarks/remote/status |
GET | Remote sync status |
/security/doko/stats |
GET | DOKO identity stats |
/security/namche/gates |
GET | Gateway verification status |
/geo/status |
GET | Geographic proof status |
/geo/landmarks |
GET/POST | List or add landmarks |
/geo/zones |
GET | List exclusion zones |
/geo/prove |
POST | Generate geographic proof |
/geo/verify |
POST | Verify another node's claims |
YAKMESH Pro includes additional security features:
- 🔐 WebSocket Authentication - Challenge-response auth with signatures
- 🔒 Message Encryption - XChaCha20-Poly1305 encrypted messages
- 📋 Peer Allowlist/Blocklist - Access control for private networks
- 🛡️ Connection Rate Limiting - DDoS protection
- Community Edition: MIT License (see LICENSE)
- Pro Edition: Proprietary License
See TRADEMARK.md for trademark usage policy.
yakmesh.dev
💬 Discord • 📱 Telegram • 𝕏 Twitter • ❤️ Patreon
© 2026 YAKMESH™ Project. Sturdy & Secure.
YAKMESH™ is a trademark of PeerQuanta, application pending (Serial No. 99594620).
